Changeset 424 for trunk/Network/UNetworkServer.pas
- Timestamp:
- Apr 25, 2022, 6:22:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Network/UNetworkServer.pas
r423 r424 4 4 5 5 uses 6 Classes, SysUtils{$IFDEF UNIX}, fgl, fpAsync, fpsock, fphttpclient{$ENDIF}, Protocol; 6 Classes, SysUtils{$IFDEF UNIX}, Generics.Collections, fpAsync, fpsock, 7 fphttpclient{$ENDIF}, Protocol; 7 8 8 9 {$IFDEF UNIX} … … 55 56 { TNetworkServerPlayers } 56 57 57 TNetworkServerPlayers = class(T FPGObjectList<TNetworkServerPlayer>)58 TNetworkServerPlayers = class(TObjectList<TNetworkServerPlayer>) 58 59 function SearchById(Id: Integer): TNetworkServerPlayer; 59 60 end; … … 64 65 private 65 66 Players: TNetworkServerPlayers; 66 Connections: T FPGObjectList<TNetworkServerConnection>;67 Connections: TObjectList<TNetworkServerConnection>; 67 68 TCPServerThread: TTCPServerThread; 68 69 ServerEventLoop: TEventLoop; … … 302 303 Players := TNetworkServerPlayers.Create; 303 304 ServerEventLoop := TEventLoop.Create; 304 Connections := T FPGObjectList<TNetworkServerConnection>.Create;305 Connections := TObjectList<TNetworkServerConnection>.Create; 305 306 TCPServer := TTCPServer.Create(nil); 306 307 with TCPServer do begin
Note:
See TracChangeset
for help on using the changeset viewer.