]> git.deb.at Git - rhonda/impostor.git/commitdiff
API: update enums for airship
authorminiduikboot <5243971+miniduikboot@users.noreply.github.com>
Thu, 1 Apr 2021 14:57:34 +0000 (16:57 +0200)
committerminiduikboot <5243971+miniduikboot@users.noreply.github.com>
Fri, 2 Apr 2021 22:29:05 +0000 (00:29 +0200)
src/Impostor.Api/Innersloth/MapSpawn.cs
src/Impostor.Api/Net/Inner/RpcCalls.cs

index 61dea0f6d5d60a981dfd943d7af11166ff58a752..3f59f0a8fba7aed8f9d133156ccff67cce528ddb 100644 (file)
@@ -18,6 +18,7 @@ namespace Impostor.Api.Innersloth
             [MapTypes.Skeld] = new MapSpawn(1.6f, new Vector2(-0.72f, 0.62f), new Vector2(-0.72f, 0.62f)),
             [MapTypes.MiraHQ] = new MapSpawn(1.55f, new Vector2(-4.4f, 2.2f), new Vector2(24.043f, 1.72f)),
             [MapTypes.Polus] = new MapSpawn(1f, new Vector2(16.64f, -2.46f), new Vector2(17.726f, -16.286f)),
+            [MapTypes.Airship] = new MapSpawn(0f, new Vector2(-0.66f, -0.5f), new Vector2(-0.66f, -0.5f)),
         };
 
         public float SpawnRadius { get; }
index 506017d1a864f00e8a6da67d98b5b460782b4f15..6176d3c67dd8801776c0225e1e3402a01f2bcec3 100644 (file)
@@ -1,4 +1,4 @@
-namespace Impostor.Server.Net.Inner
+namespace Impostor.Server.Net.Inner
 {
     public enum RpcCalls : byte
     {
@@ -33,5 +33,7 @@
         RepairSystem = 28,
         SetTasks = 29,
         UpdateGameData = 30,
+        ClimbLadder = 31,
+        UsePlatform = 32,
     }
 }