You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
C#
50 lines
1.3 KiB
C#
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "EmailData", menuName = "Inbox/Email Data", order = 1)]
|
|
public class EmailData : ScriptableObject
|
|
{
|
|
public string senderName;
|
|
public string senderEmail;
|
|
public string[] otherSenderEmails; // NEW: Aliases or spoofed variants
|
|
|
|
public string subject;
|
|
public string subjectAr;
|
|
|
|
[TextArea(5, 20)] public string fullBodyText;
|
|
[TextArea(5, 20)] public string fullBodyTextAr;
|
|
|
|
public string linkPreview;
|
|
|
|
public bool hasAttachment;
|
|
public bool isPhishing;
|
|
|
|
public string timeOrDate;
|
|
public string timeOrDateAr;
|
|
|
|
// NEW: Info panel fields
|
|
public string[] toRecipients = new string[] { "self@cybercompanion.com" }; // Typically fixed
|
|
public string sentDate;
|
|
}
|
|
|
|
|
|
//using UnityEngine;
|
|
|
|
//[CreateAssetMenu(fileName = "EmailData", menuName = "Inbox/Email Data", order = 1)]
|
|
//public class EmailData : ScriptableObject
|
|
//{
|
|
// public string senderName;
|
|
// public string senderEmail;
|
|
// public string subject;
|
|
// public string subjectAr;
|
|
|
|
// [TextArea(5, 20)] public string fullBodyText;
|
|
// [TextArea(5, 20)] public string fullBodyTextAr;
|
|
|
|
// public string linkPreview;
|
|
|
|
// public bool hasAttachment;
|
|
// public bool isPhishing;
|
|
// public string timeOrDate;
|
|
// public string timeOrDateAr;
|
|
//}
|