Interface IWeight

Unit

Declaration

type IWeight = interface(IInterface)

Description

Current carry weight and maximum carry capacity of a player

Attributes
GUID['{5531DA1E-1A2C-500F-B781-629F8F0EAE27}']

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetCurrent: Cardinal;
Public procedure SetCurrent(Current: Cardinal);
Public function GetMax: Cardinal;
Public procedure SetMax(Max: Cardinal);
Public procedure Serialize(Writer: TEoWriter);

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Current: Cardinal read GetCurrent write SetCurrent;
Public property Max: Cardinal read GetMax write SetMax;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetCurrent: Cardinal;

This item has no description.

Public procedure SetCurrent(Current: Cardinal);

This item has no description.

Public function GetMax: Cardinal;

This item has no description.

Public procedure SetMax(Max: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this IWeight object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property Current: Cardinal read GetCurrent write SetCurrent;

Note
Value range is 0-252

Public property Max: Cardinal read GetMax write SetMax;

Note
Value range is 0-252


Generated by PasDoc 0.16.0-snapshot.