Changeset 349 for trunk/Player.pas
- Timestamp:
- Dec 27, 2024, 10:29:54 AM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Player.pas
r346 r349 100 100 procedure GetValue(Index: Integer; out Value); override; 101 101 procedure SetValue(Index: Integer; var Value); override; 102 function GetReferenceList(Index: Integer): IList<TItem>; override;102 function GetReferenceList(Index: Integer): TBaseItemList; override; 103 103 class function GetClassSysName: string; override; 104 104 class function GetClassName: string; override; … … 1257 1257 end; 1258 1258 1259 function TPlayer.GetReferenceList(Index: Integer): IList<TItem>;1260 begin 1261 if Index = 2 then Result := TGame(Game).GameSystem.Nations 1259 function TPlayer.GetReferenceList(Index: Integer): TBaseItemList; 1260 begin 1261 if Index = 2 then Result := TGame(Game).GameSystem.Nations.BaseItemList 1262 1262 else Result := nil; 1263 1263 end;
Note:
See TracChangeset
for help on using the changeset viewer.