ORK Framework  2.25.1
API Documentation
ORKFramework.Behaviours.ShopInteraction Class Reference
Inheritance diagram for ORKFramework.Behaviours.ShopInteraction:
ORKFramework.Behaviours.BaseInteraction ORKFramework.Events.IEventStarter ORKFramework.Behaviours.BaseConditionComponent ORKFramework.Behaviours.SceneID

Public Member Functions

override void StartEvent (GameObject startingObject)
 
void EventEnded ()
 
void DontDestroy ()
 
void OnSceneLoaded ()
 
- Public Member Functions inherited from ORKFramework.Behaviours.BaseInteraction
IEnumerator StartEvent (GameObject startingObject, float delay)
 
virtual bool CanInteract (EventStartType type, GameObject startingObject)
 
bool CheckOrientation (GameObject gameObject)
 
virtual bool Interact ()
 
virtual void TouchInteract ()
 
virtual bool DropInteract (DragInfo drag)
 
bool CheckDrop (DragInfo drag)
 
bool CheckStartObject (GameObject gameObject)
 
virtual void KeyPress ()
 
virtual void UIStart ()
 
virtual void UIStart (GameObject startingObject)
 
bool ForwardInteract ()
 
void ForwardTouchInteract ()
 
bool ForwardDropInteract (DragInfo drag)
 
void ForwardOnTriggerEnter (Collider other)
 
void ForwardOnTriggerExit (Collider other)
 
void ForwardOnTriggerStay (Collider other)
 
void ForwardOnTriggerEnter2D (Collider2D other)
 
void ForwardOnTriggerExit2D (Collider2D other)
 
void ForwardOnTriggerStay2D (Collider2D other)
 
void ForwardOnCollisionEnter (Collision collision)
 
void ForwardOnCollisionExit (Collision collision)
 
void ForwardOnCollisionStay (Collision collision)
 
void ForwardOnCollisionEnter2D (Collision2D collision)
 
void ForwardOnCollisionExit2D (Collision2D collision)
 
void ForwardOnCollisionStay2D (Collision2D collision)
 
- Public Member Functions inherited from ORKFramework.Behaviours.BaseConditionComponent
bool CheckConditions ()
 
bool CheckVariables ()
 
void SetVariables ()
 

Public Attributes

string shopSceneID = ""
 
int shopID = 0
 
bool turnToEvent = true
 
bool turnToPlayer = false
 
bool useFaction = false
 
int factionID = 0
 
- Public Attributes inherited from ORKFramework.Behaviours.BaseInteraction
EventStartType startType = EventStartType.None
 
bool inBlockedControl = false
 
string customType = ""
 
float autoStartAfter = 0
 
bool allowClick = true
 
bool overrideClickDistance = false
 
float maxClickDistance = 3
 
bool useMoveToInteraction = true
 
GameObject destinationObject
 
bool overrideInteractionRadius = false
 
float interactionRadius = 1
 
bool overrideStopDistance = false
 
float stopDistance = 1
 
bool overrideMoveToSpeed = false
 
MoveSpeed moveToSpeed
 
int keyToPress = 0
 
bool keyPressInTrigger = false
 
bool keyPressWhileColliding = false
 
EventDropType dropType = EventDropType.Item
 
ItemGain dropItem = new ItemGain()
 
AbilitySelection dropAbility = new AbilitySelection()
 
bool consumeDrop = false
 
bool startByCollider = true
 
bool startByTrigger = true
 
bool startByRootObject = false
 
bool useOtherObject = false
 
EventStartObject startObjectCheck
 
HorizontalPlaneType horizontalPlane = HorizontalPlaneType.XZ
 
bool useFront = true
 
bool useBack = true
 
bool useLeft = true
 
bool useRight = true
 
- Public Attributes inherited from ORKFramework.Behaviours.BaseConditionComponent
bool autoDestroy = true
 
bool repeatDestroy = false
 
float destroyCheckTime = 1
 
bool checkObjectVariables = false
 
VariableCondition variableCondition = new VariableCondition()
 
bool setObjectVariables = false
 
VariableSetter variableSetter = new VariableSetter()
 
QuestCondition questCondition = new QuestCondition()
 
- Public Attributes inherited from ORKFramework.Behaviours.SceneID
bool useSceneID = true
 
int sceneID = -1
 

Properties

override InteractionType Type [get]
 
GameObject GameObject [get]
 
- Properties inherited from ORKFramework.Behaviours.BaseInteraction
bool EventStarted [get]
 
float?? MoveDestinationOffset [get]
 
abstract InteractionType Type [get]
 
- Properties inherited from ORKFramework.Events.IEventStarter
GameObject GameObject [get]
 

Additional Inherited Members

- Protected Member Functions inherited from ORKFramework.Behaviours.BaseInteraction
void AutoStart ()
 
void DoAutoStart ()
 
void StartMoveToInteraction (GameObject player)
 
virtual void Update ()
 
- Protected Member Functions inherited from ORKFramework.Behaviours.BaseConditionComponent
bool CheckAutoDestroy ()
 
void AutoDestroy ()
 
- Protected Attributes inherited from ORKFramework.Behaviours.BaseInteraction
int isInTrigger = 0
 
int isColliding = 0
 
bool eventStarted = false
 
- Protected Attributes inherited from ORKFramework.Behaviours.BaseConditionComponent
bool isInvoking = false