Difference between revisions of "TMapsList"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "==Inheritance== *TMapsList ==Description== Class for managing server's Maps list. '''This class is assigned to "TGame.MapsList"''' user constructab...")
 
(new page)
 
Line 5: Line 5:
 
Class for managing server's Maps list.
 
Class for managing server's Maps list.
  
  '''This class is assigned to "[[TGame.MapsList|TGame.MapsList]]"'''
+
  '''This class is assigned to "[[TGame.MapsList|Game.MapsList]]"'''
  
 
  user constructable: '''NO'''
 
  user constructable: '''NO'''
Line 20: Line 20:
 
|-
 
|-
 
| procedure [[TMapsList.RemoveMap|RemoveMap]](Name: string)
 
| procedure [[TMapsList.RemoveMap|RemoveMap]](Name: string)
 +
| align="center" |
 +
| 2.7.8.b1
 +
|-
 +
| function [[TMapsList.GetMapIdByName|GetMapIdByName]](Name: string): Integer
 
| align="center" |  
 
| align="center" |  
 
| 2.7.8.b1
 
| 2.7.8.b1
Line 25: Line 29:
 
| colspan="3" |  
 
| colspan="3" |  
 
|-
 
|-
| property [[TGame.OnAdminDisconnect|OnAdminDisconnect]]: [[TOnAdminDisconnectEvent]]
+
| property [[TMapsList.Map|Map]]: array of string
 +
| align="center" | R
 +
| 2.7.8.b1
 +
|-
 +
| property [[TMapsList.CurrentMapId|CurrentMapId]]: Integer
 
| align="center" | RW
 
| align="center" | RW
 +
| 2.7.8.b1
 +
|-
 +
| property [[TMapsList.MapsCount|MapsCount]]: Integer
 +
| align="center" | R
 
| 2.7.8.b1
 
| 2.7.8.b1
 
|-
 
|-

Latest revision as of 10:13, 4 October 2014

Inheritance

Description

Class for managing server's Maps list.

This class is assigned to "Game.MapsList"
user constructable: NO
user destructable: NO

Members

Member declaration Access mode SS Version
procedure AddMap(Name: string) 2.7.8.b1
procedure RemoveMap(Name: string) 2.7.8.b1
function GetMapIdByName(Name: string): Integer 2.7.8.b1
property Map: array of string R 2.7.8.b1
property CurrentMapId: Integer RW 2.7.8.b1
property MapsCount: Integer R 2.7.8.b1