Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
PlayerEntityLegacyScriptEngine.h File Reference
import "PlayerEntity.h"
+ Include dependency graph for PlayerEntityLegacyScriptEngine.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

category  PlayerEntity(Scripting)
 

Enumerations

enum  OOComparisonType {
  COMPARISON_EQUAL , COMPARISON_NOTEQUAL , COMPARISON_LESSTHAN , COMPARISON_GREATERTHAN ,
  COMPARISON_ONEOF , COMPARISON_UNDEFINED
}
 
enum  OOOperationType {
  OP_STRING , OP_NUMBER , OP_BOOL , OP_MISSION_VAR ,
  OP_LOCAL_VAR , OP_FALSE , OP_INVALID
}
 

Functions

NSString * OOComparisonTypeToString (OOComparisonType type) CONST_FUNC
 

Enumeration Type Documentation

◆ OOComparisonType

Enumerator
COMPARISON_EQUAL 
COMPARISON_NOTEQUAL 
COMPARISON_LESSTHAN 
COMPARISON_GREATERTHAN 
COMPARISON_ONEOF 
COMPARISON_UNDEFINED 

Definition at line 33 of file PlayerEntityLegacyScriptEngine.h.

◆ OOOperationType

Enumerator
OP_STRING 
OP_NUMBER 
OP_BOOL 
OP_MISSION_VAR 
OP_LOCAL_VAR 
OP_FALSE 
OP_INVALID 

Definition at line 44 of file PlayerEntityLegacyScriptEngine.h.

Function Documentation

◆ OOComparisonTypeToString()

NSString * OOComparisonTypeToString ( OOComparisonType type)

Definition at line 2983 of file PlayerEntityLegacyScriptEngine.m.

2984{
2985 switch (type)
2986 {
2987 case COMPARISON_EQUAL: return @"equal";
2988 case COMPARISON_NOTEQUAL: return @"notequal";
2989 case COMPARISON_LESSTHAN: return @"lessthan";
2990 case COMPARISON_GREATERTHAN: return @"greaterthan";
2991 case COMPARISON_ONEOF: return @"oneof";
2992 case COMPARISON_UNDEFINED: return @"undefined";
2993 }
2994 return @"<error: invalid comparison type>";
2995}

Referenced by SanitizeCondition().

+ Here is the caller graph for this function: