|
|
|
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;
|
|
|
|
//}
|