C# Class IndieAPI.NetworkAPI

Exibir arquivo Open project: SyncZone/IndieAPI

Public Methods

Method Description
Auth_LoginGuest ( string uuid, APICallbackHandler callback ) : void
Auth_LoginMember ( string uuid, string userId, string userPwd, APICallbackHandler callback ) : void
Auth_RegisterGuest ( string uuid, APICallbackHandler callback ) : void
Auth_RegisterMember ( string uuid, string userId, string userPwd, APICallbackHandler callback ) : void
CacheBox_GetValue ( string key, APICallbackHandler callback ) : void
CacheBox_SetExpireTime ( string key, System.DateTime expireTime, APICallbackHandler callback ) : void
CacheBox_SetExpireTime ( string key, int durationMinutes, APICallbackHandler callback ) : void
CacheBox_SetValue ( string key, string value, System.DateTime expireTime, APICallbackHandler callback ) : void
CacheBox_SetValue ( string key, string value, int durationMinutes, APICallbackHandler callback ) : void
Disconnect ( ) : void
IMC_ChannelList ( APICallbackHandler callback ) : void
IMC_Create ( string channelName, APICallbackHandler callback ) : void
IMC_Enter ( int channelNo, APICallbackHandler callback ) : void
IMC_Leave ( APICallbackHandler callback ) : void
IMC_SendMessage ( int targetUserNo, Aegis.Client.Network.StreamBuffer data, APICallbackHandler callback ) : void
IMC_UserList ( APICallbackHandler callback ) : void
Initialize ( ) : void
Profile_GetData ( APICallbackHandler callback ) : void
Profile_GetTextData ( APICallbackHandler callback ) : void
Profile_SetData ( string nickname, Int16 level, Int16 exp, APICallbackHandler callback ) : void
Profile_SetTextData ( string text, APICallbackHandler callback ) : void
Release ( ) : void
SetServer ( String ipAddress, Int32 portNo ) : void
Storage_Sheet_Refresh ( string filename, APICallbackHandler callback ) : void
Update ( ) : void

Private Methods

Method Description
OnHello ( Aegis.Client.Network.SecurePacket packet ) : void
OnNetworkStatusChanged ( NetworkStatus status ) : void
OnPacketPreprocessing ( Aegis.Client.Network.SecurePacket packet ) : bool
OnRecv_Storage_Sheet_GetRecords ( Aegis.Client.Network.SecurePacket packet, APICallbackHandler callback ) : void
OnRecv_Storage_Sheet_GetSheetList ( Aegis.Client.Network.SecurePacket packet, APICallbackHandler callback ) : void

Method Details

Auth_LoginGuest() public static method

public static Auth_LoginGuest ( string uuid, APICallbackHandler callback ) : void
uuid string
callback APICallbackHandler
return void

Auth_LoginMember() public static method

public static Auth_LoginMember ( string uuid, string userId, string userPwd, APICallbackHandler callback ) : void
uuid string
userId string
userPwd string
callback APICallbackHandler
return void

Auth_RegisterGuest() public static method

public static Auth_RegisterGuest ( string uuid, APICallbackHandler callback ) : void
uuid string
callback APICallbackHandler
return void

Auth_RegisterMember() public static method

public static Auth_RegisterMember ( string uuid, string userId, string userPwd, APICallbackHandler callback ) : void
uuid string
userId string
userPwd string
callback APICallbackHandler
return void

CacheBox_GetValue() public static method

public static CacheBox_GetValue ( string key, APICallbackHandler callback ) : void
key string
callback APICallbackHandler
return void

CacheBox_SetExpireTime() public static method

public static CacheBox_SetExpireTime ( string key, System.DateTime expireTime, APICallbackHandler callback ) : void
key string
expireTime System.DateTime
callback APICallbackHandler
return void

CacheBox_SetExpireTime() public static method

public static CacheBox_SetExpireTime ( string key, int durationMinutes, APICallbackHandler callback ) : void
key string
durationMinutes int
callback APICallbackHandler
return void

CacheBox_SetValue() public static method

public static CacheBox_SetValue ( string key, string value, System.DateTime expireTime, APICallbackHandler callback ) : void
key string
value string
expireTime System.DateTime
callback APICallbackHandler
return void

CacheBox_SetValue() public static method

public static CacheBox_SetValue ( string key, string value, int durationMinutes, APICallbackHandler callback ) : void
key string
value string
durationMinutes int
callback APICallbackHandler
return void

Disconnect() public static method

public static Disconnect ( ) : void
return void

IMC_ChannelList() public static method

public static IMC_ChannelList ( APICallbackHandler callback ) : void
callback APICallbackHandler
return void

IMC_Create() public static method

public static IMC_Create ( string channelName, APICallbackHandler callback ) : void
channelName string
callback APICallbackHandler
return void

IMC_Enter() public static method

public static IMC_Enter ( int channelNo, APICallbackHandler callback ) : void
channelNo int
callback APICallbackHandler
return void

IMC_Leave() public static method

public static IMC_Leave ( APICallbackHandler callback ) : void
callback APICallbackHandler
return void

IMC_SendMessage() public static method

public static IMC_SendMessage ( int targetUserNo, Aegis.Client.Network.StreamBuffer data, APICallbackHandler callback ) : void
targetUserNo int
data Aegis.Client.Network.StreamBuffer
callback APICallbackHandler
return void

IMC_UserList() public static method

public static IMC_UserList ( APICallbackHandler callback ) : void
callback APICallbackHandler
return void

Initialize() public static method

public static Initialize ( ) : void
return void

Profile_GetData() public static method

public static Profile_GetData ( APICallbackHandler callback ) : void
callback APICallbackHandler
return void

Profile_GetTextData() public static method

public static Profile_GetTextData ( APICallbackHandler callback ) : void
callback APICallbackHandler
return void

Profile_SetData() public static method

public static Profile_SetData ( string nickname, Int16 level, Int16 exp, APICallbackHandler callback ) : void
nickname string
level System.Int16
exp System.Int16
callback APICallbackHandler
return void

Profile_SetTextData() public static method

public static Profile_SetTextData ( string text, APICallbackHandler callback ) : void
text string
callback APICallbackHandler
return void

Release() public static method

public static Release ( ) : void
return void

SetServer() public static method

public static SetServer ( String ipAddress, Int32 portNo ) : void
ipAddress String
portNo System.Int32
return void

Storage_Sheet_Refresh() public static method

public static Storage_Sheet_Refresh ( string filename, APICallbackHandler callback ) : void
filename string
callback APICallbackHandler
return void

Update() public static method

public static Update ( ) : void
return void