53proto
void DebugBreak(
bool condition =
true,
void param1 = NULL,
void param2 = NULL,
void param3 = NULL,
void param4 = NULL,
void param5 = NULL,
void param6 = NULL,
void param7 = NULL,
void param8 = NULL,
void param9 = NULL);
87proto native
void Error2(
string title,
string err);
108proto
void PrintFormat(
string fmt,
void param1 = NULL,
void param2 = NULL,
void param3 = NULL,
void param4 = NULL,
void param5 = NULL,
void param6 = NULL,
void param7 = NULL,
void param8 = NULL,
void param9 = NULL);
156 proto
private void ~Shape();
185 pts[2] = to - dir1 - dir2;
186 pts[3] = to - dir1 + dir2;
204 pts[1] = from +
"0 0 1";
205 pts[2] = to +
"0 0 1";
207 pts[4] = to - dir1 - dir2;
208 pts[5] = to - dir1 + dir2;
259 static proto
void RegisterItem(
int id,
string shortcut,
string name,
int parent,
string values,
func callback = null);
272 static proto
void RegisterBool(
int id,
string shortcut,
string name,
int parent,
bool reverse =
false,
func callback = null);
283 static proto
void RegisterRange(
int id,
string shortcut,
string name,
int parent,
string valuenames,
func callback = null);
314 static proto
bool GetBool(
int id,
bool reverse =
false);
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
proto float Normalize()
Normalizes vector. Returns length.
vector Perpend()
Returns perpendicular vector. Perpendicular vector is computed as cross product between input vector ...
proto native void Error2(string title, string err)
Messagebox with error message.
void Error(string err)
Messagebox with error message.
proto void DumpStack()
Prints current call stack (stack trace)
proto void Print(void var)
Prints content of variable to console/log.
proto void DebugBreak(bool condition=true, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Triggers breakpoint in C++ in run time(when app is running in debug enviroment)
proto void DumpStackString(out string stack)
Prints current call stack (stack trace) to given output.
proto void DPrint(string var)
Prints content of variable to console/log. Should be used for critical messages so it will appear in ...
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...
void CompileBreak()
Triggers breakpoint in C++ in compile time(when app is running in debug enviroment)
proto void PrintFormat(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Prints formated text to console/log.
proto void ErrorExString(string err, out string str, ErrorExSeverity severity=ErrorExSeverity.ERROR)
static proto native Shape Create(ShapeType type, int color, ShapeFlags flags, vector p1, vector p2)
static proto native Shape CreateCylinder(int color, ShapeFlags flags, vector origin, float radius, float length)
static Shape CreateArrow(vector from, vector to, float size, int color, ShapeFlags flags)
proto native void SetPosition(vector position)
Set the world position of the Effect.
proto native void SetDirection(vector direction)
static proto native Shape CreateFrustum(float horizontalAngle, float verticalAngle, float length, int color, ShapeFlags flags)
proto native void Destroy()
Cleans up the Effect, including unregistering if needed.
proto native void SetColor(int color)
proto native void SetMatrix(vector mat[4])
static proto native Shape CreateSphere(int color, ShapeFlags flags, vector origin, float radius)
static proto native Shape CreateLines(int color, ShapeFlags flags, vector p[], int num)
proto native void SetFlags(ShapeFlags flags)
proto native void GetMatrix(out vector mat[4])
static proto native Shape CreateTris(int color, ShapeFlags flags, vector p[], int num)
static Shape CreateBridgeArrow(vector from, vector to, float size, int color, ShapeFlags flags)
static void CreateMatrix(vector mat[4])
proto native vector Vector(float x, float y, float z)
Vector constructor from components.