Beispiel #1
0
 public unsafe static long $Invoke12(long instance, long *args)
 {
     ((EntityFactory)GCHandledObjects.GCHandleToObject(instance)).DestroyTransportEntity((Entity)GCHandledObjects.GCHandleToObject(*args));
     return(-1L);
 }
Beispiel #2
0
 public unsafe static long $Invoke30(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).StashAllMovedBuildings();
     return(-1L);
 }
Beispiel #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);
 }
Beispiel #4
0
 public unsafe static long $Invoke25(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsSavingBaseLayout = (*(sbyte *)args != 0);
     return(-1L);
 }
Beispiel #5
0
 public unsafe static long $Invoke27(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ShouldChecksumLastSaveData()));
 }
Beispiel #6
0
 public unsafe static long $Invoke19(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ResumeContractsOnAllBuildings();
     return(-1L);
 }
Beispiel #7
0
 public unsafe static long $Invoke21(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).SaveBaseLayout((PositionMap)GCHandledObjects.GCHandleToObject(*args));
     return(-1L);
 }
Beispiel #8
0
 public unsafe static long $Invoke2(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ExitBaseLayoutTool();
     return(-1L);
 }
Beispiel #9
0
 public unsafe static long $Invoke4(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsQuickStashModeEnabled));
 }
Beispiel #10
0
 public unsafe static long $Invoke5(long instance, long *args)
 {
     ((UIOrthoCamera)GCHandledObjects.GCHandleToObject(instance)).Unity_Serialize(*(int *)args);
     return(-1L);
 }
Beispiel #11
0
 public unsafe static long $Invoke6(long instance, long *args)
 {
     ((UIOrthoCamera)GCHandledObjects.GCHandleToObject(instance)).Update();
     return(-1L);
 }
Beispiel #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);
 }
Beispiel #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]))));
 }
Beispiel #14
0
 public unsafe static long $Invoke13(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((EntityFactory)GCHandledObjects.GCHandleToObject(instance)).NewEntity()));
 }
Beispiel #15
0
 public unsafe static long $Invoke16(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsStashedBuildingListEmpty()));
 }
Beispiel #16
0
 public unsafe static long $Invoke6(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ShouldRevertMap));
 }
Beispiel #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]))));
 }
Beispiel #18
0
 public unsafe static long $Invoke8(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).GetBuildingLastSavedZ(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }
Beispiel #19
0
 public unsafe static long $Invoke20(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).RevertToPreviousMapLayout();
     return(-1L);
 }
Beispiel #20
0
 public unsafe static long $Invoke9(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).GetCurrentPlayerMap()));
 }
Beispiel #21
0
 public unsafe static long $Invoke24(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsQuickStashModeEnabled = (*(sbyte *)args != 0);
     return(-1L);
 }
Beispiel #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]))));
 }
Beispiel #23
0
 public unsafe static long $Invoke26(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).ShouldRevertMap = (*(sbyte *)args != 0);
     return(-1L);
 }
Beispiel #24
0
 public unsafe static long $Invoke11(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsActive()));
 }
Beispiel #25
0
 public unsafe static long $Invoke28(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).StampUnstashBuildingByUID(Marshal.PtrToStringUni(*(IntPtr *)args));
     return(-1L);
 }
Beispiel #26
0
 public unsafe static long $Invoke14(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsBuildingStashed((Entity)GCHandledObjects.GCHandleToObject(*args))));
 }
Beispiel #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);
 }
Beispiel #28
0
 public unsafe static long $Invoke15(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).IsListOutOfGivenBuilding(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }
Beispiel #29
0
 public unsafe static long $Invoke34(long instance, long *args)
 {
     ((BaseLayoutToolController)GCHandledObjects.GCHandleToObject(instance)).UpdateLastSavedMap();
     return(-1L);
 }
Beispiel #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))));
 }