Changeset 211 for trunk/UGameServer.pas
- Timestamp:
- May 23, 2018, 8:53:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGameServer.pas
r203 r211 25 25 procedure SendCmd(Command: TCommand; DataOut, DataIn: TStream); 26 26 procedure TurnStart; 27 procedure GameEnd; 27 28 property OnReceiveCmd: TCommandEvent read FOnReceiveCmd write 28 29 FOnReceiveCmd; … … 60 61 procedure SaveConfig(Config: TXmlConfig; Path: string); 61 62 procedure InitClients; 63 procedure GameEnd; 62 64 procedure Clear; 63 65 constructor Create; … … 100 102 begin 101 103 Protocol.TurnStart; 104 end; 105 106 procedure TServerClient.GameEnd; 107 begin 108 Protocol.GameEnd; 102 109 end; 103 110 … … 234 241 end; 235 242 243 procedure TServer.GameEnd; 244 var 245 I: Integer; 246 begin 247 for I := 0 to Clients.Count - 1 do 248 Clients[I].GameEnd; 249 end; 250 236 251 procedure TServer.Clear; 237 252 begin
Note:
See TracChangeset
for help on using the changeset viewer.