First commit, step 4 completed

This commit is contained in:
bepis
2026-10-15 14:27:00 +11:00
commit 9a30efa170
5378 changed files with 1136719 additions and 0 deletions
@@ -0,0 +1,48 @@
local BehavioralMessaging =
{
Name = "BehavioralMessaging",
Type = "System",
Namespace = "C_BehavioralMessaging",
Environment = "All",
Functions =
{
{
Name = "SendNotificationReceipt",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "dbId", Type = "NotificationDbId", Nilable = false },
{ Name = "openTimeSeconds", Type = "number", Nilable = false },
{ Name = "readTimeSeconds", Type = "number", Nilable = false },
},
},
},
Events =
{
{
Name = "BehavioralNotification",
Type = "Event",
LiteralName = "BEHAVIORAL_NOTIFICATION",
SynchronousEvent = true,
Payload =
{
{ Name = "notificationType", Type = "string", Nilable = false },
{ Name = "dbId", Type = "NotificationDbId", Nilable = false },
},
},
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(BehavioralMessaging);