727 lines
27 KiB
C#
727 lines
27 KiB
C#
|
|
|
|
|
|
|
|
|
|
// Generated by PIDL compiler.
|
|
// Do not modify this file, but modify the source .pidl file.
|
|
|
|
using System;
|
|
using System.Net;
|
|
|
|
|
|
using Nettention.Proud;
|
|
namespace PClientToLogin
|
|
{
|
|
public class Proxy:Nettention.Proud.RmiProxy
|
|
{
|
|
public bool Message(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, ClientToLogin clientToLogin)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.Message;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, clientToLogin);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_Message, Common.Message);
|
|
}
|
|
}
|
|
|
|
public bool Message(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, ClientToLogin clientToLogin)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.Message;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, clientToLogin);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_Message, Common.Message);
|
|
}
|
|
}
|
|
|
|
#if USE_RMI_NAME_STRING
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_Message="Message";
|
|
|
|
public const string RmiName_First = RmiName_Message;
|
|
#else
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_Message="";
|
|
|
|
public const string RmiName_First = "";
|
|
#endif
|
|
|
|
public override Nettention.Proud.RmiID[] GetRmiIDList() { return Common.RmiIDList; }
|
|
}
|
|
}
|
|
namespace PClientToGame
|
|
{
|
|
public class Proxy:Nettention.Proud.RmiProxy
|
|
{
|
|
public bool Message(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, ClientToGame clientToGame)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.Message;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, clientToGame);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_Message, Common.Message);
|
|
}
|
|
}
|
|
|
|
public bool Message(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, ClientToGame clientToGame)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.Message;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, clientToGame);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_Message, Common.Message);
|
|
}
|
|
}
|
|
public bool P2PVoiceChat(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, System.String id, Nettention.Proud.ByteArray data)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.P2PVoiceChat;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, id);
|
|
Protocol.CaliMarshaler.Write(__msg, data);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_P2PVoiceChat, Common.P2PVoiceChat);
|
|
}
|
|
}
|
|
|
|
public bool P2PVoiceChat(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, System.String id, Nettention.Proud.ByteArray data)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.P2PVoiceChat;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, id);
|
|
Protocol.CaliMarshaler.Write(__msg, data);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_P2PVoiceChat, Common.P2PVoiceChat);
|
|
}
|
|
}
|
|
public bool P2PMotionSync(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, System.String id, Nettention.Proud.ByteArray data)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.P2PMotionSync;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, id);
|
|
Protocol.CaliMarshaler.Write(__msg, data);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_P2PMotionSync, Common.P2PMotionSync);
|
|
}
|
|
}
|
|
|
|
public bool P2PMotionSync(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, System.String id, Nettention.Proud.ByteArray data)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.P2PMotionSync;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, id);
|
|
Protocol.CaliMarshaler.Write(__msg, data);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_P2PMotionSync, Common.P2PMotionSync);
|
|
}
|
|
}
|
|
public bool P2PPartySync(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, System.String id, Nettention.Proud.ByteArray data)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.P2PPartySync;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, id);
|
|
Protocol.CaliMarshaler.Write(__msg, data);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_P2PPartySync, Common.P2PPartySync);
|
|
}
|
|
}
|
|
|
|
public bool P2PPartySync(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, System.String id, Nettention.Proud.ByteArray data)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.P2PPartySync;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, id);
|
|
Protocol.CaliMarshaler.Write(__msg, data);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_P2PPartySync, Common.P2PPartySync);
|
|
}
|
|
}
|
|
|
|
#if USE_RMI_NAME_STRING
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_Message="Message";
|
|
public const string RmiName_P2PVoiceChat="P2PVoiceChat";
|
|
public const string RmiName_P2PMotionSync="P2PMotionSync";
|
|
public const string RmiName_P2PPartySync="P2PPartySync";
|
|
|
|
public const string RmiName_First = RmiName_Message;
|
|
#else
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_Message="";
|
|
public const string RmiName_P2PVoiceChat="";
|
|
public const string RmiName_P2PMotionSync="";
|
|
public const string RmiName_P2PPartySync="";
|
|
|
|
public const string RmiName_First = "";
|
|
#endif
|
|
|
|
public override Nettention.Proud.RmiID[] GetRmiIDList() { return Common.RmiIDList; }
|
|
}
|
|
}
|
|
namespace PClientToChat
|
|
{
|
|
public class Proxy:Nettention.Proud.RmiProxy
|
|
{
|
|
public bool Message(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, ClientToChat clientToChat)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.Message;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, clientToChat);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_Message, Common.Message);
|
|
}
|
|
}
|
|
|
|
public bool Message(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, ClientToChat clientToChat)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.Message;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, clientToChat);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_Message, Common.Message);
|
|
}
|
|
}
|
|
public bool P2PVoiceChat(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, System.String id, Nettention.Proud.ByteArray data)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.P2PVoiceChat;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, id);
|
|
Protocol.CaliMarshaler.Write(__msg, data);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_P2PVoiceChat, Common.P2PVoiceChat);
|
|
}
|
|
}
|
|
|
|
public bool P2PVoiceChat(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, System.String id, Nettention.Proud.ByteArray data)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.P2PVoiceChat;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, id);
|
|
Protocol.CaliMarshaler.Write(__msg, data);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_P2PVoiceChat, Common.P2PVoiceChat);
|
|
}
|
|
}
|
|
|
|
#if USE_RMI_NAME_STRING
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_Message="Message";
|
|
public const string RmiName_P2PVoiceChat="P2PVoiceChat";
|
|
|
|
public const string RmiName_First = RmiName_Message;
|
|
#else
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_Message="";
|
|
public const string RmiName_P2PVoiceChat="";
|
|
|
|
public const string RmiName_First = "";
|
|
#endif
|
|
|
|
public override Nettention.Proud.RmiID[] GetRmiIDList() { return Common.RmiIDList; }
|
|
}
|
|
}
|
|
namespace PServerToIP
|
|
{
|
|
public class Proxy:Nettention.Proud.RmiProxy
|
|
{
|
|
public bool Message(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, System.String name, System.String ip)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.Message;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, name);
|
|
Protocol.CaliMarshaler.Write(__msg, ip);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_Message, Common.Message);
|
|
}
|
|
}
|
|
|
|
public bool Message(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, System.String name, System.String ip)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.Message;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, name);
|
|
Protocol.CaliMarshaler.Write(__msg, ip);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_Message, Common.Message);
|
|
}
|
|
}
|
|
|
|
#if USE_RMI_NAME_STRING
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_Message="Message";
|
|
|
|
public const string RmiName_First = RmiName_Message;
|
|
#else
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_Message="";
|
|
|
|
public const string RmiName_First = "";
|
|
#endif
|
|
|
|
public override Nettention.Proud.RmiID[] GetRmiIDList() { return Common.RmiIDList; }
|
|
}
|
|
}
|
|
namespace PBotToManager
|
|
{
|
|
public class Proxy:Nettention.Proud.RmiProxy
|
|
{
|
|
public bool CSNotifyBotStatus(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, int loginConnectedBotCount, int channelConnectedBotCount, int indunConnectedBotCount)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.CSNotifyBotStatus;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, loginConnectedBotCount);
|
|
Protocol.CaliMarshaler.Write(__msg, channelConnectedBotCount);
|
|
Protocol.CaliMarshaler.Write(__msg, indunConnectedBotCount);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_CSNotifyBotStatus, Common.CSNotifyBotStatus);
|
|
}
|
|
}
|
|
|
|
public bool CSNotifyBotStatus(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, int loginConnectedBotCount, int channelConnectedBotCount, int indunConnectedBotCount)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.CSNotifyBotStatus;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, loginConnectedBotCount);
|
|
Protocol.CaliMarshaler.Write(__msg, channelConnectedBotCount);
|
|
Protocol.CaliMarshaler.Write(__msg, indunConnectedBotCount);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_CSNotifyBotStatus, Common.CSNotifyBotStatus);
|
|
}
|
|
}
|
|
public bool SCSendJson(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, string jsonFileName, string jsonFileContents)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.SCSendJson;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, jsonFileName);
|
|
Protocol.CaliMarshaler.Write(__msg, jsonFileContents);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_SCSendJson, Common.SCSendJson);
|
|
}
|
|
}
|
|
|
|
public bool SCSendJson(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, string jsonFileName, string jsonFileContents)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.SCSendJson;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, jsonFileName);
|
|
Protocol.CaliMarshaler.Write(__msg, jsonFileContents);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_SCSendJson, Common.SCSendJson);
|
|
}
|
|
}
|
|
public bool CSSendJsonRes(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, int nError)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.CSSendJsonRes;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, nError);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_CSSendJsonRes, Common.CSSendJsonRes);
|
|
}
|
|
}
|
|
|
|
public bool CSSendJsonRes(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, int nError)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.CSSendJsonRes;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, nError);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_CSSendJsonRes, Common.CSSendJsonRes);
|
|
}
|
|
}
|
|
public bool SCNotfiyBotStart(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, int startIndex, int Count)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.SCNotfiyBotStart;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, startIndex);
|
|
Protocol.CaliMarshaler.Write(__msg, Count);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_SCNotfiyBotStart, Common.SCNotfiyBotStart);
|
|
}
|
|
}
|
|
|
|
public bool SCNotfiyBotStart(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, int startIndex, int Count)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.SCNotfiyBotStart;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, startIndex);
|
|
Protocol.CaliMarshaler.Write(__msg, Count);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_SCNotfiyBotStart, Common.SCNotfiyBotStart);
|
|
}
|
|
}
|
|
public bool CSNotfiyBotStartRes(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, int nError)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.CSNotfiyBotStartRes;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, nError);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_CSNotfiyBotStartRes, Common.CSNotfiyBotStartRes);
|
|
}
|
|
}
|
|
|
|
public bool CSNotfiyBotStartRes(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, int nError)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.CSNotfiyBotStartRes;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, nError);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_CSNotfiyBotStartRes, Common.CSNotfiyBotStartRes);
|
|
}
|
|
}
|
|
public bool SCNotfiyBotEnd(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.SCNotfiyBotEnd;
|
|
__msg.Write(__msgid);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_SCNotfiyBotEnd, Common.SCNotfiyBotEnd);
|
|
}
|
|
}
|
|
|
|
public bool SCNotfiyBotEnd(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.SCNotfiyBotEnd;
|
|
__msg.Write(__msgid);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_SCNotfiyBotEnd, Common.SCNotfiyBotEnd);
|
|
}
|
|
}
|
|
public bool CSNotfiyBotEndRes(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, int nError)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.CSNotfiyBotEndRes;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, nError);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_CSNotfiyBotEndRes, Common.CSNotfiyBotEndRes);
|
|
}
|
|
}
|
|
|
|
public bool CSNotfiyBotEndRes(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, int nError)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.CSNotfiyBotEndRes;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, nError);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_CSNotfiyBotEndRes, Common.CSNotfiyBotEndRes);
|
|
}
|
|
}
|
|
|
|
#if USE_RMI_NAME_STRING
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_CSNotifyBotStatus="CSNotifyBotStatus";
|
|
public const string RmiName_SCSendJson="SCSendJson";
|
|
public const string RmiName_CSSendJsonRes="CSSendJsonRes";
|
|
public const string RmiName_SCNotfiyBotStart="SCNotfiyBotStart";
|
|
public const string RmiName_CSNotfiyBotStartRes="CSNotfiyBotStartRes";
|
|
public const string RmiName_SCNotfiyBotEnd="SCNotfiyBotEnd";
|
|
public const string RmiName_CSNotfiyBotEndRes="CSNotfiyBotEndRes";
|
|
|
|
public const string RmiName_First = RmiName_CSNotifyBotStatus;
|
|
#else
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_CSNotifyBotStatus="";
|
|
public const string RmiName_SCSendJson="";
|
|
public const string RmiName_CSSendJsonRes="";
|
|
public const string RmiName_SCNotfiyBotStart="";
|
|
public const string RmiName_CSNotfiyBotStartRes="";
|
|
public const string RmiName_SCNotfiyBotEnd="";
|
|
public const string RmiName_CSNotfiyBotEndRes="";
|
|
|
|
public const string RmiName_First = "";
|
|
#endif
|
|
|
|
public override Nettention.Proud.RmiID[] GetRmiIDList() { return Common.RmiIDList; }
|
|
}
|
|
}
|
|
namespace PGameProtocol
|
|
{
|
|
public class Proxy:Nettention.Proud.RmiProxy
|
|
{
|
|
public bool ProtocolHandler(Nettention.Proud.HostID remote,Nettention.Proud.RmiContext rmiContext, GameProtocol gameProtocol)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.ProtocolHandler;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, gameProtocol);
|
|
|
|
Nettention.Proud.HostID[] __list = new Nettention.Proud.HostID[1];
|
|
__list[0] = remote;
|
|
|
|
return RmiSend(__list,rmiContext,__msg,
|
|
RmiName_ProtocolHandler, Common.ProtocolHandler);
|
|
}
|
|
}
|
|
|
|
public bool ProtocolHandler(Nettention.Proud.HostID[] remotes,Nettention.Proud.RmiContext rmiContext, GameProtocol gameProtocol)
|
|
{
|
|
using (Nettention.Proud.FreeListPopper<Nettention.Proud.Message> freeList = new Nettention.Proud.FreeListPopper<Nettention.Proud.Message>())
|
|
{
|
|
Nettention.Proud.Message __msg=freeList.GetObject();
|
|
__msg.Clear();
|
|
__msg.SimplePacketMode = core.IsSimplePacketMode();
|
|
Nettention.Proud.RmiID __msgid= Common.ProtocolHandler;
|
|
__msg.Write(__msgid);
|
|
Protocol.CaliMarshaler.Write(__msg, gameProtocol);
|
|
|
|
return RmiSend(remotes,rmiContext,__msg,
|
|
RmiName_ProtocolHandler, Common.ProtocolHandler);
|
|
}
|
|
}
|
|
|
|
#if USE_RMI_NAME_STRING
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_ProtocolHandler="ProtocolHandler";
|
|
|
|
public const string RmiName_First = RmiName_ProtocolHandler;
|
|
#else
|
|
// RMI name declaration.
|
|
// It is the unique pointer that indicates RMI name such as RMI profiler.
|
|
public const string RmiName_ProtocolHandler="";
|
|
|
|
public const string RmiName_First = "";
|
|
#endif
|
|
|
|
public override Nettention.Proud.RmiID[] GetRmiIDList() { return Common.RmiIDList; }
|
|
}
|
|
}
|
|
|