57 lines
1.6 KiB
Plaintext
57 lines
1.6 KiB
Plaintext
|
|
// P2P RMI function definitions.
|
|
|
|
rename cs(Proud::String, System.String);
|
|
rename cs(Proud::ByteArray, Nettention.Proud.ByteArray);
|
|
rename cs(int64_t, long);
|
|
using(cs) Nettention.Proud;
|
|
|
|
#include "Mashaler.h"
|
|
|
|
[marshaler(cs)=Protocol.CaliMarshaler, access=public]
|
|
global PClientToLogin 2000
|
|
{
|
|
Message([in] ClientToLogin clientToLogin);
|
|
}
|
|
|
|
[marshaler(cs)=Protocol.CaliMarshaler, access=public]
|
|
global PClientToGame 3000
|
|
{
|
|
Message([in] ClientToGame clientToGame);
|
|
P2PVoiceChat([in] Proud::String id, [in] Proud::ByteArray data);
|
|
P2PMotionSync([in] Proud::String id, [in] Proud::ByteArray data);
|
|
P2PPartySync([in] Proud::String id, [in] Proud::ByteArray data);
|
|
}
|
|
|
|
[marshaler(cs)=Protocol.CaliMarshaler, access=public]
|
|
global PClientToChat 4000
|
|
{
|
|
Message([in] ClientToChat clientToChat);
|
|
P2PVoiceChat([in] Proud::String id, [in] Proud::ByteArray data);
|
|
}
|
|
|
|
[marshaler(cs)=Protocol.CaliMarshaler, access=public]
|
|
global PServerToIP 5000
|
|
{
|
|
Message([in] Proud::String name, [in] Proud::String ip);
|
|
}
|
|
|
|
[marshaler(cs)=Protocol.CaliMarshaler, access=public]
|
|
global PBotToManager 6000
|
|
{
|
|
CSNotifyBotStatus([in] int loginConnectedBotCount, [in] int channelConnectedBotCount, [in] int indunConnectedBotCount);
|
|
|
|
SCSendJson([in]string jsonFileName, [in] string jsonFileContents);
|
|
CSSendJsonRes([in] int nError);
|
|
|
|
SCNotfiyBotStart([in] int startIndex, [in] int Count);
|
|
CSNotfiyBotStartRes([in] int nError);
|
|
SCNotfiyBotEnd();
|
|
CSNotfiyBotEndRes([in] int nError);
|
|
}
|
|
|
|
[marshaler(cs)=Protocol.CaliMarshaler, access=public]
|
|
global PGameProtocol 7000
|
|
{
|
|
ProtocolHandler([in] GameProtocol gameProtocol);
|
|
} |