Class TWeight
Unit
Declaration
type TWeight = class(TInterfacedObject, IWeight)
Description
Current carry weight and maximum carry capacity of a player
Hierarchy
- TInterfacedObject
- TWeight
Overview
Methods
![]() |
function GetByteSize: Cardinal; |
![]() |
function GetCurrent: Cardinal; |
![]() |
procedure SetCurrent(Current: Cardinal); |
![]() |
function GetMax: Cardinal; |
![]() |
procedure SetMax(Max: Cardinal); |
![]() |
procedure Serialize(Writer: TEoWriter); |
![]() |
class function Deserialize(Reader: TEoReader): TWeight; |
Properties
![]() |
property ByteSize: Cardinal read GetByteSize; |
![]() |
property Current: Cardinal read GetCurrent write SetCurrent; |
![]() |
property Max: Cardinal read GetMax write SetMax; |
Description
Methods
![]() |
function GetByteSize: Cardinal; |
This item has no description. |
![]() |
function GetCurrent: Cardinal; |
This item has no description. |
![]() |
procedure SetCurrent(Current: Cardinal); |
This item has no description. |
![]() |
function GetMax: Cardinal; |
This item has no description. |
![]() |
procedure SetMax(Max: Cardinal); |
This item has no description. |
![]() |
procedure Serialize(Writer: TEoWriter); |
Serializes this Parameters
|
![]() |
class function Deserialize(Reader: TEoReader): TWeight; |
Deserializes an instance of Parameters
ReturnsThe deserialized object |
Properties
![]() |
property ByteSize: Cardinal read GetByteSize; |
The size of the data that this object was deserialized from.
|
![]() |
property Current: Cardinal read GetCurrent write SetCurrent; |
|
![]() |
property Max: Cardinal read GetMax write SetMax; |
|
Generated by PasDoc 0.16.0-snapshot.