Метод | Описание | |
---|---|---|
CacheDictionaryMedia ( idDict dict ) : void |
This is called after parsing an EntityDef and for each entity spawnArgs before merging the entitydef. It could be done post-merge, but that would avoid the fast pre-cache check associated with each entityDef.
|
|
CalculateFieldOfView ( float baseFov, float &fovX, float &fovY ) : void |
Calculates the horizontal and vertical field of view based on a horizontal field of view and custom aspect ratio.
|
|
Draw ( int clientIndex ) : bool | ||
FindEntityDef ( string name, bool makeDefault ) : |
||
FindEntityDefDict ( string name, bool makeDefault ) : idDict | ||
FindEntityUsingDef ( |
Searches all active entities for the next one using the specified entityDef. Searches beginning at the entity after from, or the beginning if NULL NULL will be returned if the end of the list is reached. |
|
GetBestGameType ( string map, string gameType ) : string | ||
GetMapLoadingInterface ( string defaultInterface ) : string | ||
GetTimeGroupTime ( int timeGroup ) : int | ||
HandleGuiCommands ( string menuCommand ) : string | ||
HandleMainMenuCommands ( string menuCommand, |
||
Init ( ) : void | ||
InitFromNewMap ( string mapName, |
||
RegisterEntity ( |
||
RunFrame ( |
||
SelectInitialSpawnPoint ( |
spectators are spawned randomly anywhere. in-game clients are spawned based on distance to active players (randomized on the first half) upon map restart, initial spawns are used (randomized ordered list of spawns flagged "initial"). if there are more players than initial spots, overflow to regular spawning.
|
|
SelectTimeGroup ( int timeGroup ) : void | ||
ServerClientBegin ( int clientIndex ) : void | ||
ServerClientConnect ( int clientIndex, string guid ) : void | ||
ServerSendChatMessage ( int to, string name, string text ) : void | ||
SetLocalClient ( int clientIndex ) : void | ||
SetPersistentPlayerInformation ( int clientIndex, idDict playerInfo ) : void | ||
SetServerInfo ( idDict serverInfo ) : void | ||
SetUserInformation ( int clientIndex, idDict userInfo, bool isClient, bool canModify ) : idDict | ||
SpawnEntityDef ( idDict args, bool setDefaults = true ) : |
||
SpawnPlayer ( int clientIndex ) : void | ||
idGame ( ) : System |
Метод | Описание | |
---|---|---|
Clear ( ) : void | ||
CreateGameRules ( ) : void | ||
InhibitEntitySpawn ( idDict args ) : bool | ||
InitAsyncNetwork ( ) : void | ||
InitClientDeclRemap ( int clientIndex ) : void | ||
InitConsoleCommands ( ) : void | ||
InitCvars ( ) : void | ||
LoadMap ( string mapName, int randomSeed ) : void | ||
MapPopulate ( ) : void | ||
RandomizeInitialSpawns ( ) : void | ||
SpawnMapEntities ( ) : void |
Parses textual entity definitions out of an entstring and spawns gentities.
|
public CacheDictionaryMedia ( idDict dict ) : void | ||
dict | idDict | |
Результат | void |
public CalculateFieldOfView ( float baseFov, float &fovX, float &fovY ) : void | ||
baseFov | float | |
fovX | float | |
fovY | float | |
Результат | void |
public FindEntityDef ( string name, bool makeDefault ) : |
||
name | string | |
makeDefault | bool | |
Результат |
public FindEntityDefDict ( string name, bool makeDefault ) : idDict | ||
name | string | |
makeDefault | bool | |
Результат | idDict |
public FindEntityUsingDef ( |
||
from | ||
match | string | |
Результат |
public GetBestGameType ( string map, string gameType ) : string | ||
map | string | |
gameType | string | |
Результат | string |
public GetMapLoadingInterface ( string defaultInterface ) : string | ||
defaultInterface | string | |
Результат | string |
public GetTimeGroupTime ( int timeGroup ) : int | ||
timeGroup | int | |
Результат | int |
public HandleGuiCommands ( string menuCommand ) : string | ||
menuCommand | string | |
Результат | string |
public HandleMainMenuCommands ( string menuCommand, |
||
menuCommand | string | |
gui | ||
Результат | void |
public InitFromNewMap ( string mapName, |
||
mapName | string | |
renderWorld | ||
soundWorld | ||
isServer | bool | |
isClient | bool | |
randomSeed | int | |
Результат | void |
public RegisterEntity ( |
||
entity | ||
Результат | void |
public RunFrame ( |
||
userCommands | ||
Результат |
public SelectInitialSpawnPoint ( |
||
player | ||
Результат |
public SelectTimeGroup ( int timeGroup ) : void | ||
timeGroup | int | |
Результат | void |
public ServerClientBegin ( int clientIndex ) : void | ||
clientIndex | int | |
Результат | void |
public ServerClientConnect ( int clientIndex, string guid ) : void | ||
clientIndex | int | |
guid | string | |
Результат | void |
public ServerSendChatMessage ( int to, string name, string text ) : void | ||
to | int | |
name | string | |
text | string | |
Результат | void |
public SetLocalClient ( int clientIndex ) : void | ||
clientIndex | int | |
Результат | void |
public SetPersistentPlayerInformation ( int clientIndex, idDict playerInfo ) : void | ||
clientIndex | int | |
playerInfo | idDict | |
Результат | void |
public SetServerInfo ( idDict serverInfo ) : void | ||
serverInfo | idDict | |
Результат | void |
public SetUserInformation ( int clientIndex, idDict userInfo, bool isClient, bool canModify ) : idDict | ||
clientIndex | int | |
userInfo | idDict | |
isClient | bool | |
canModify | bool | |
Результат | idDict |
public SpawnEntityDef ( idDict args, bool setDefaults = true ) : |
||
args | idDict | |
setDefaults | bool | |
Результат |
public SpawnPlayer ( int clientIndex ) : void | ||
clientIndex | int | |
Результат | void |