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

Mostra file Open project: xsochor/mooege Class Usage Examples

Public Methods

Method 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

Method 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 method

public AddMap ( GameAttributeMap map ) : GameAttributeMap
map GameAttributeMap
return GameAttributeMap

ClearChanged() public method

public ClearChanged ( ) : void
return void

CombineMap() public method

public CombineMap ( GameAttributeMap map ) : GameAttributeMap
map GameAttributeMap
return GameAttributeMap

GetChangedMessageList() public method

public GetChangedMessageList ( uint actorID ) : List
actorID uint
return List

GetMessageList() public method

public GetMessageList ( uint actorID ) : List
actorID uint
return List

SendChangedMessage() public method

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
return void

SendChangedMessage() public method

public SendChangedMessage ( IEnumerable clients, uint actorID ) : void
clients IEnumerable
actorID uint
return void

SendMessage() public method

public SendMessage ( GameClient client, uint actorID ) : void
client GameClient
actorID uint
return void

this() public method

public this ( Mooege.Net.GS.Message.GameAttributeB attribute ) : bool
attribute Mooege.Net.GS.Message.GameAttributeB
return bool

this() public method

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

this() public method

public this ( Mooege.Net.GS.Message.GameAttributeF attribute ) : float
attribute Mooege.Net.GS.Message.GameAttributeF
return float

this() public method

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

this() public method

public this ( Mooege.Net.GS.Message.GameAttributeI attribute ) : int
attribute Mooege.Net.GS.Message.GameAttributeI
return int

this() public method

public this ( Mooege.Net.GS.Message.GameAttributeI attribute, int key ) : int
attribute Mooege.Net.GS.Message.GameAttributeI
key int
return int