mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-02 03:18:23 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
34 lines
812 B
Modula-2
34 lines
812 B
Modula-2
|
|
#include "fgdlib/gdvar.h"
|
|
|
|
//
|
|
// Vars
|
|
//
|
|
|
|
native class CGameDataVariable as Native.CGameDataVariable
|
|
{
|
|
string GetName();
|
|
string GetLongName();
|
|
string GetDescription();
|
|
string GetGroupName();
|
|
|
|
void SetName( string name );
|
|
void SetLongName( string name );
|
|
void SetDescription( string name );
|
|
void SetGroupName( string name );
|
|
void SetMetadataFromString( string name );
|
|
|
|
void SetTypeFromString( string type );
|
|
|
|
void SetDefaultValue( string val );
|
|
void SetDefaultValueNumber( int val );
|
|
|
|
GDIVItemSet GetItemSet();
|
|
}
|
|
|
|
native class GDIVItemSet as Native.GDIVItemSet
|
|
{
|
|
void AddFlagItem( int value, string caption, bool bDefault );
|
|
void AddChoiceItem( string name, string caption );
|
|
void AddTagItem( string name, string caption, bool bDefault, bool custom );
|
|
} |