ORK Framework  2.26.1
API Documentation
ORKFramework.BaseNotification Class Reference
Inheritance diagram for ORKFramework.BaseNotification:
ORKFramework.BaseData ORKFramework.IBaseData ORKFramework.AbilityNotification ORKFramework.AINotification ORKFramework.AreaNotificationLayout ORKFramework.BestiaryNotification ORKFramework.CombatantNotification ORKFramework.CraftingNotification ORKFramework.DurabilityNotification ORKFramework.InventoryNotification ORKFramework.QuestNotification ORKFramework.QuestTaskNotification ORKFramework.ResearchItemNotification ORKFramework.ResearchTreeNotification

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void PlayAudio ()
 
virtual GUIBox CreateBox (string text, string name, IPortrait portrait, GameObject atObject, Vector2 posOffset)
 
virtual GUIBaseLayout GetLayout ()
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool playSound = false
 
AssetSource< AudioClip > audioClip
 
float volume = 1
 
bool show = false
 
int guiBoxID = 0
 
bool useLayout = false
 
GUILayoutSelection layout
 
bool canAccept = false
 
bool autoClose = true
 
float visibleTime = 3
 
bool blockPlayerControl = false
 
bool blockCameraControl = false
 
bool blockControlMaps = false
 
bool blockMoveAI = false
 
bool showPortrait = false
 
int portraitTypeID = 0
 
bool useTitle = false
 
string [] title
 
string [] text = ArrayHelper.CreateArray(ORK.Languages.Count, "%n")
 

Protected Attributes

GUIBaseLayout usedLayout
 

Member Function Documentation

◆ SetData()

override void ORKFramework.BaseNotification.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.