Prechádzať zdrojové kódy

Location相关消息放到ActorLocation包中

tanghai 1 rok pred
rodič
commit
b018cff377

+ 8 - 0
Unity/Packages/cn.etetet.actorlocation/Proto.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 8c79b8edb72990f4c8030c2a01b36a4a
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 82 - 0
Unity/Packages/cn.etetet.actorlocation/Proto/ActorLocation_S_20100.proto

@@ -0,0 +1,82 @@
+
+syntax = "proto3";
+
+package ET;
+
+// ResponseType ObjectAddResponse
+message ObjectAddRequest // IRequest
+{
+	int32 RpcId = 1;
+	int32 Type = 2;
+	int64 Key = 3;
+	ActorId ActorId = 4;
+}
+
+message ObjectAddResponse // IResponse
+{
+	int32 RpcId = 1;
+	int32 Error = 2;
+	string Message = 3;
+}
+
+// ResponseType ObjectLockResponse
+message ObjectLockRequest // IRequest
+{
+	int32 RpcId = 1;
+	int32 Type = 2;
+	int64 Key = 3;
+	ActorId ActorId = 4;
+	int32 Time = 5;
+}
+message ObjectLockResponse // IResponse
+{
+	int32 RpcId = 1;
+	int32 Error = 2;
+	string Message = 3;
+}
+
+// ResponseType ObjectUnLockResponse
+message ObjectUnLockRequest // IRequest
+{
+	int32 RpcId = 1;
+	int32 Type = 2;
+	int64 Key = 3;
+	ActorId OldActorId = 4;
+	ActorId NewActorId = 5;
+}
+message ObjectUnLockResponse // IResponse
+{
+	int32 RpcId = 1;
+	int32 Error = 2;
+	string Message = 3;
+}
+
+// ResponseType ObjectRemoveResponse
+message ObjectRemoveRequest // IRequest
+{
+	int32 RpcId = 1;
+	int32 Type = 2;
+	int64 Key = 3;
+}
+message ObjectRemoveResponse // IResponse
+{
+	int32 RpcId = 1;
+	int32 Error = 2;
+	string Message = 3;
+}
+
+// ResponseType ObjectGetResponse
+message ObjectGetRequest // IRequest
+{
+	int32 RpcId = 1;
+	int32 Type = 2;
+	int64 Key = 3;
+}
+message ObjectGetResponse // IResponse
+{
+	int32 RpcId = 1;
+	int32 Error = 2;
+	string Message = 3;
+	int32 Type = 4;
+	ActorId ActorId = 5;
+}

+ 7 - 0
Unity/Packages/cn.etetet.actorlocation/Proto/ActorLocation_S_20100.proto.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 8d4f74e2f9836e24a9b732da07844c9e
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 1 - 0
Unity/Packages/cn.etetet.excel/DotNet~/Init.cs

@@ -14,6 +14,7 @@ namespace ET
             {
                 Log.Console(e.ToString());
             }
+            Console.WriteLine("excelexporter ok!");
             return 1;
         }
     }

+ 2 - 1
Unity/Packages/cn.etetet.proto/DotNet~/Init.cs

@@ -12,8 +12,9 @@ namespace ET
             }
             catch (Exception e)
             {
-                Log.Console(e.ToString());
+                Console.WriteLine(e.ToString());
             }
+            Console.WriteLine("proto2cs ok!");
             return 1;
         }
     }

+ 0 - 86
Unity/Packages/cn.etetet.statesync/Proto/StateSyncInner_S_20001.proto

@@ -2,14 +2,6 @@ syntax = "proto3";
 
 package ET;
 
-// ResponseType ObjectQueryResponse
-message ObjectQueryRequest // IRequest
-{
-	int32 RpcId = 1;
-	int64 Key = 2;
-	int64 InstanceId = 3;
-}
-
 // ResponseType A2M_Reload
 message M2A_Reload // IRequest
 {
@@ -53,84 +45,6 @@ message G2G_LockReleaseResponse // IResponse
 	string Message = 3;
 }
 
-// ResponseType ObjectAddResponse
-message ObjectAddRequest // IRequest
-{
-	int32 RpcId = 1;
-	int32 Type = 2;
-	int64 Key = 3;
-	ActorId ActorId = 4;
-}
-
-message ObjectAddResponse // IResponse
-{
-	int32 RpcId = 1;
-	int32 Error = 2;
-	string Message = 3;
-}
-
-// ResponseType ObjectLockResponse
-message ObjectLockRequest // IRequest
-{
-	int32 RpcId = 1;
-	int32 Type = 2;
-	int64 Key = 3;
-	ActorId ActorId = 4;
-	int32 Time = 5;
-}
-message ObjectLockResponse // IResponse
-{
-	int32 RpcId = 1;
-	int32 Error = 2;
-	string Message = 3;
-}
-
-// ResponseType ObjectUnLockResponse
-message ObjectUnLockRequest // IRequest
-{
-	int32 RpcId = 1;
-	int32 Type = 2;
-	int64 Key = 3;
-	ActorId OldActorId = 4;
-	ActorId NewActorId = 5;
-}
-message ObjectUnLockResponse // IResponse
-{
-	int32 RpcId = 1;
-	int32 Error = 2;
-	string Message = 3;
-}
-
-// ResponseType ObjectRemoveResponse
-message ObjectRemoveRequest // IRequest
-{
-	int32 RpcId = 1;
-	int32 Type = 2;
-	int64 Key = 3;
-}
-message ObjectRemoveResponse // IResponse
-{
-	int32 RpcId = 1;
-	int32 Error = 2;
-	string Message = 3;
-}
-
-// ResponseType ObjectGetResponse
-message ObjectGetRequest // IRequest
-{
-	int32 RpcId = 1;
-	int32 Type = 2;
-	int64 Key = 3;
-}
-message ObjectGetResponse // IResponse
-{
-	int32 RpcId = 1;
-	int32 Error = 2;
-	string Message = 3;
-	int32 Type = 4;
-	ActorId ActorId = 5;
-}
-
 // ResponseType G2R_GetLoginKey
 message R2G_GetLoginKey // IRequest
 {