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.