RawSource = ''' #include <engine/message.h> #include "protocol.h" ''' Enums = [ Enum("EMOTE", Emotes), Enum("POWERUP", Powerups), Enum("EMOTICON", Emoticons), Enum("AUTHED", Authed), Enum("ENTITYCLASS", EntityClasses), ] Flags = [ Flags("PLAYERFLAG", PlayerFlags), Flags("GAMEFLAG", GameFlags), Flags("GAMESTATEFLAG", GameStateFlags), Flags("CHARACTERFLAG", CharacterFlags), Flags("GAMEINFOFLAG", GameInfoFlags), Flags("GAMEINFOFLAG2", GameInfoFlags2), Flags("EXPLAYERFLAG", ExPlayerFlags), Flags("PROJECTILEFLAG", ProjectileFlags), ] Objects = [ NetObject("PlayerInput", [ NetIntAny("m_Direction"), NetIntAny("m_TargetX"), NetIntAny("m_TargetY"), NetIntAny("m_Jump"),
RawSource = ''' #include <engine/message.h> #include "protocol.h" ''' Enums = [ Enum("EMOTE", Emotes), Enum("POWERUP", Powerups), Enum("EMOTICON", Emoticons), Enum("AUTHED", Authed), Enum("ENTITYCLASS", EntityClasses), Enum("INFCLASS_OBJECT_TYPE", InfClassObjectTypes), ] Flags = [ Flags("PLAYERFLAG", PlayerFlags), Flags("GAMEFLAG", GameFlags), Flags("GAMESTATEFLAG", GameStateFlags), Flags("CHARACTERFLAG", CharacterFlags), Flags("GAMEINFOFLAG", GameInfoFlags), Flags("GAMEINFOFLAG2", GameInfoFlags2), Flags("EXPLAYERFLAG", ExPlayerFlags), Flags("PROJECTILEFLAG", ProjectileFlags), Flags("INFCLASS_PLAYER_FLAG", InfClassPlayerFlags), Flags("INFCLASS_OBJECT_FLAG", InfClassObjectFlags), ] Objects = [ NetObject("PlayerInput", [ NetIntAny("m_Direction"), NetIntAny("m_TargetX"),