C# Class Mooege.Net.GS.Message.GameAttributeMap

Afficher le fichier Open project: xsochor/mooege Class Usage Examples

Méthodes publiques

Méthode Description
AddMap ( GameAttributeMap map ) : GameAttributeMap
ClearChanged ( ) : void
CombineMap ( GameAttributeMap map ) : GameAttributeMap
GetChangedMessageList ( uint actorID ) : List
GetMessageList ( uint actorID ) : List
SendChangedMessage ( GameClient client, uint actorID ) : void

Send only the changed attributes. How nice is that?

SendChangedMessage ( IEnumerable clients, uint actorID ) : void
SendMessage ( GameClient client, uint actorID ) : void
this ( Mooege.Net.GS.Message.GameAttributeB attribute ) : bool
this ( Mooege.Net.GS.Message.GameAttributeB attribute, int key ) : bool
this ( Mooege.Net.GS.Message.GameAttributeF attribute ) : float
this ( Mooege.Net.GS.Message.GameAttributeF attribute, int key ) : float
this ( Mooege.Net.GS.Message.GameAttributeI attribute ) : int
this ( Mooege.Net.GS.Message.GameAttributeI attribute, int key ) : int

Private Methods

Méthode Description
GetAttributeValue ( GameAttribute attribute, int key ) : Mooege.Net.GS.Message.GameAttributeValue
GetMessageListFromEnumerator ( uint actorID, IEnumerator e, int count ) : List
SetAttributeValue ( GameAttribute attribute, int key, Mooege.Net.GS.Message.GameAttributeValue value ) : void

Method Details

AddMap() public méthode

public AddMap ( GameAttributeMap map ) : GameAttributeMap
map GameAttributeMap
Résultat GameAttributeMap

ClearChanged() public méthode

public ClearChanged ( ) : void
Résultat void

CombineMap() public méthode

public CombineMap ( GameAttributeMap map ) : GameAttributeMap
map GameAttributeMap
Résultat GameAttributeMap

GetChangedMessageList() public méthode

public GetChangedMessageList ( uint actorID ) : List
actorID uint
Résultat List

GetMessageList() public méthode

public GetMessageList ( uint actorID ) : List
actorID uint
Résultat List

SendChangedMessage() public méthode

Send only the changed attributes. How nice is that?
public SendChangedMessage ( GameClient client, uint actorID ) : void
client GameClient the client we send it to
actorID uint the actor this attribs belong to
Résultat void

SendChangedMessage() public méthode

public SendChangedMessage ( IEnumerable clients, uint actorID ) : void
clients IEnumerable
actorID uint
Résultat void

SendMessage() public méthode

public SendMessage ( GameClient client, uint actorID ) : void
client GameClient
actorID uint
Résultat void

this() public méthode

public this ( Mooege.Net.GS.Message.GameAttributeB attribute ) : bool
attribute Mooege.Net.GS.Message.GameAttributeB
Résultat bool

this() public méthode

public this ( Mooege.Net.GS.Message.GameAttributeB attribute, int key ) : bool
attribute Mooege.Net.GS.Message.GameAttributeB
key int
Résultat bool

this() public méthode

public this ( Mooege.Net.GS.Message.GameAttributeF attribute ) : float
attribute Mooege.Net.GS.Message.GameAttributeF
Résultat float

this() public méthode

public this ( Mooege.Net.GS.Message.GameAttributeF attribute, int key ) : float
attribute Mooege.Net.GS.Message.GameAttributeF
key int
Résultat float

this() public méthode

public this ( Mooege.Net.GS.Message.GameAttributeI attribute ) : int
attribute Mooege.Net.GS.Message.GameAttributeI
Résultat int

this() public méthode

public this ( Mooege.Net.GS.Message.GameAttributeI attribute, int key ) : int
attribute Mooege.Net.GS.Message.GameAttributeI
key int
Résultat int