C# Class HttpApi.CharacterApi

Inheritance: MonoBehaviour
显示文件 Open project: gamemachine/gamemachine

Public Properties

Property Type Description
instance CharacterApi

Public Methods

Method Description
CreateCharacter ( string characterId, ICharacterApi caller ) : void
CreateCharacterRoutine ( string characterId, ICharacterApi caller ) : IEnumerator
CreateNpc ( string playerId, string characterId, Vitals template, string prefab, Action action ) : void
CreateNpcRoutine ( string playerId, string characterId, Vitals template, string prefab, Action action ) : IEnumerator
DeleteCharacter ( string characterId, ICharacterApi caller ) : void
DeleteCharacterRoutine ( string characterId, ICharacterApi caller ) : IEnumerator
GetCharacter ( string playerId, string characterId, ICharacterApi caller ) : void
GetCharacterRoutine ( string playerId, string characterId, ICharacterApi caller ) : IEnumerator
SetBindPoint ( string characterId, string bindPoint, Action action ) : void
SetBindPointRoutine ( string characterId, string bindPoint, Action action ) : IEnumerator
SetCharacter ( string characterId, ICharacterApi caller ) : void
SetCharacterRoutine ( string characterId, ICharacterApi caller ) : IEnumerator
SetItemSlots ( string characterId, string slots, Action action ) : void
SetItemSlots ( string playerId, string characterId, string slots, Action action ) : void
SetItemSlotsRoutine ( string playerId, string characterId, string slots, Action action ) : IEnumerator

Private Methods

Method Description
Awake ( ) : void

Method Details

CreateCharacter() public method

public CreateCharacter ( string characterId, ICharacterApi caller ) : void
characterId string
caller ICharacterApi
return void

CreateCharacterRoutine() public method

public CreateCharacterRoutine ( string characterId, ICharacterApi caller ) : IEnumerator
characterId string
caller ICharacterApi
return IEnumerator

CreateNpc() public method

public CreateNpc ( string playerId, string characterId, Vitals template, string prefab, Action action ) : void
playerId string
characterId string
template Vitals
prefab string
action Action
return void

CreateNpcRoutine() public method

public CreateNpcRoutine ( string playerId, string characterId, Vitals template, string prefab, Action action ) : IEnumerator
playerId string
characterId string
template Vitals
prefab string
action Action
return IEnumerator

DeleteCharacter() public method

public DeleteCharacter ( string characterId, ICharacterApi caller ) : void
characterId string
caller ICharacterApi
return void

DeleteCharacterRoutine() public method

public DeleteCharacterRoutine ( string characterId, ICharacterApi caller ) : IEnumerator
characterId string
caller ICharacterApi
return IEnumerator

GetCharacter() public method

public GetCharacter ( string playerId, string characterId, ICharacterApi caller ) : void
playerId string
characterId string
caller ICharacterApi
return void

GetCharacterRoutine() public method

public GetCharacterRoutine ( string playerId, string characterId, ICharacterApi caller ) : IEnumerator
playerId string
characterId string
caller ICharacterApi
return IEnumerator

SetBindPoint() public method

public SetBindPoint ( string characterId, string bindPoint, Action action ) : void
characterId string
bindPoint string
action Action
return void

SetBindPointRoutine() public method

public SetBindPointRoutine ( string characterId, string bindPoint, Action action ) : IEnumerator
characterId string
bindPoint string
action Action
return IEnumerator

SetCharacter() public method

public SetCharacter ( string characterId, ICharacterApi caller ) : void
characterId string
caller ICharacterApi
return void

SetCharacterRoutine() public method

public SetCharacterRoutine ( string characterId, ICharacterApi caller ) : IEnumerator
characterId string
caller ICharacterApi
return IEnumerator

SetItemSlots() public method

public SetItemSlots ( string characterId, string slots, Action action ) : void
characterId string
slots string
action Action
return void

SetItemSlots() public method

public SetItemSlots ( string playerId, string characterId, string slots, Action action ) : void
playerId string
characterId string
slots string
action Action
return void

SetItemSlotsRoutine() public method

public SetItemSlotsRoutine ( string playerId, string characterId, string slots, Action action ) : IEnumerator
playerId string
characterId string
slots string
action Action
return IEnumerator

Property Details

instance public_oe static_oe property

public static CharacterApi,HttpApi instance
return CharacterApi