Exemplo n.º 1
0
 public unsafe static long $Invoke12(long instance, long *args)
 {
     ((EntityFactory)GCHandledObjects.GCHandleToObject(instance)).DestroyTransportEntity((Entity)GCHandledObjects.GCHandleToObject(*args));
     return(-1L);
 }
Exemplo n.º 2
0
 public unsafe static long $Invoke30(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).StashAllMovedBuildings();
     return(-1L);
 }
Exemplo n.º 3
0
 public unsafe static long $Invoke33(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).UnstashBuildingByUID(Marshal.PtrToStringUni(*(IntPtr *)args), *(sbyte *)(args + 1) != 0, *(sbyte *)(args + 2) != 0, *(sbyte *)(args + 3) != 0, *(sbyte *)(args + 4) != 0);
     return(-1L);
 }
Exemplo n.º 4
0
 public unsafe static long $Invoke25(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsSavingBaseLayout = (*(sbyte *)args != 0);
     return(-1L);
 }
Exemplo n.º 5
0
 public unsafe static long $Invoke27(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ShouldChecksumLastSaveData()));
 }
Exemplo n.º 6
0
 public unsafe static long $Invoke19(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ResumeContractsOnAllBuildings();
     return(-1L);
 }
Exemplo n.º 7
0
 public unsafe static long $Invoke21(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).SaveBaseLayout((PositionMap)GCHandledObjects.GCHandleToObject(*args));
     return(-1L);
 }
Exemplo n.º 8
0
 public unsafe static long $Invoke2(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ExitBaseLayoutTool();
     return(-1L);
 }
Exemplo n.º 9
0
 public unsafe static long $Invoke4(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsQuickStashModeEnabled));
 }
Exemplo n.º 10
0
 public unsafe static long $Invoke5(long instance, long *args)
 {
     ((UIOrthoCamera)GCHandledObjects.GCHandleToObject(instance)).Unity_Serialize(*(int *)args);
     return(-1L);
 }
Exemplo n.º 11
0
 public unsafe static long $Invoke6(long instance, long *args)
 {
     ((UIOrthoCamera)GCHandledObjects.GCHandleToObject(instance)).Update();
     return(-1L);
 }
Exemplo n.º 12
0
 public unsafe static long $Invoke15(long instance, long *args)
 {
     ((EntityFactory)GCHandledObjects.GCHandleToObject(instance)).RemoveEntity((Entity)GCHandledObjects.GCHandleToObject(*args), *(sbyte *)(args + 1) != 0);
     return(-1L);
 }
Exemplo n.º 13
0
 public unsafe static long $Invoke14(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((EntityFactory)GCHandledObjects.GCHandleToObject(instance)).OnEvent((EventId)(*(int *)args), GCHandledObjects.GCHandleToObject(args[1]))));
 }
Exemplo n.º 14
0
 public unsafe static long $Invoke13(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((EntityFactory)GCHandledObjects.GCHandleToObject(instance)).NewEntity()));
 }
Exemplo n.º 15
0
 public unsafe static long $Invoke16(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsStashedBuildingListEmpty()));
 }
Exemplo n.º 16
0
 public unsafe static long $Invoke6(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ShouldRevertMap));
 }
Exemplo n.º 17
0
 public unsafe static long $Invoke17(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).OnEvent((EventId)(*(int *)args), GCHandledObjects.GCHandleToObject(args[1]))));
 }
Exemplo n.º 18
0
 public unsafe static long $Invoke8(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).GetBuildingLastSavedZ(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }
Exemplo n.º 19
0
 public unsafe static long $Invoke20(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).RevertToPreviousMapLayout();
     return(-1L);
 }
Exemplo n.º 20
0
 public unsafe static long $Invoke9(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).GetCurrentPlayerMap()));
 }
Exemplo n.º 21
0
 public unsafe static long $Invoke24(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsQuickStashModeEnabled = (*(sbyte *)args != 0);
     return(-1L);
 }
Exemplo n.º 22
0
 public unsafe static long $Invoke10(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).HasBuildingMoved((Building)GCHandledObjects.GCHandleToObject(*args), (Position)GCHandledObjects.GCHandleToObject(args[1]))));
 }
Exemplo n.º 23
0
 public unsafe static long $Invoke26(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ShouldRevertMap = (*(sbyte *)args != 0);
     return(-1L);
 }
Exemplo n.º 24
0
 public unsafe static long $Invoke11(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsActive()));
 }
Exemplo n.º 25
0
 public unsafe static long $Invoke28(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).StampUnstashBuildingByUID(Marshal.PtrToStringUni(*(IntPtr *)args));
     return(-1L);
 }
Exemplo n.º 26
0
 public unsafe static long $Invoke14(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsBuildingStashed((Entity)GCHandledObjects.GCHandleToObject(*args))));
 }
Exemplo n.º 27
0
 public unsafe static long $Invoke32(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).StashBuilding((Entity)GCHandledObjects.GCHandleToObject(*args), *(sbyte *)(args + 1) != 0);
     return(-1L);
 }
Exemplo n.º 28
0
 public unsafe static long $Invoke15(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsListOutOfGivenBuilding(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }
Exemplo n.º 29
0
 public unsafe static long $Invoke34(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).UpdateLastSavedMap();
     return(-1L);
 }
Exemplo n.º 30
0
 public unsafe static long $Invoke10(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((EntityFactory)GCHandledObjects.GCHandleToObject(instance)).CreateWalkerBaseEntity(*(*(IntPtr *)args), *(int *)(args + 1), *(int *)(args + 2))));
 }