public override void onRemoteMethodCall(UInt16 methodUtype, MemoryStream stream)
        {
            ScriptModule sm = EntityDef.moduledefs["Operation"];

            Method method = sm.idmethods[methodUtype];

            switch (method.methodUtype)
            {
            case 16:
                UInt64 onCreateSpaceResult_arg1 = stream.readUint64();
                onCreateSpaceResult(onCreateSpaceResult_arg1);
                break;

            case 18:
                Int32  onLoginOutSpaceResult_arg1 = stream.readInt32();
                UInt64 onLoginOutSpaceResult_arg2 = stream.readUint64();
                onLoginOutSpaceResult(onLoginOutSpaceResult_arg1, onLoginOutSpaceResult_arg2);
                break;

            case 17:
                UInt64 onLoginSpaceResult_arg1 = stream.readUint64();
                onLoginSpaceResult(onLoginSpaceResult_arg1);
                break;

            case 15:
                SPACE_LIST onReqSpaceList_arg1 = ((DATATYPE_SPACE_LIST)method.args[0]).createFromStreamEx(stream);
                onReqSpaceList(onReqSpaceList_arg1);
                break;

            default:
                break;
            }
            ;
        }
示例#2
0
        public SPACE_LIST createFromStreamEx(MemoryStream stream)
        {
            SPACE_LIST datas = new SPACE_LIST();

            datas.values = values_DataType.createFromStreamEx(stream);
            return(datas);
        }
示例#3
0
 public override void onReqSpaceList(SPACE_LIST spaceList)
 {
     KBEngine.Event.fireOut("onReqSpaceList", new object[] { spaceList });
 }
 public abstract void onReqSpaceList(SPACE_LIST arg1);
示例#5
0
 public void addToStreamEx(Bundle stream, SPACE_LIST v)
 {
     values_DataType.addToStreamEx(stream, v.values);
 }