Files
sbox-public/engine/Definitions/tools/GameData/InputVariable.def
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

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 );
}