diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 1ff0c42..0000000 --- a/.gitattributes +++ /dev/null @@ -1,63 +0,0 @@ -############################################################################### -# Set default behavior to automatically normalize line endings. -############################################################################### -* text=auto - -############################################################################### -# Set default behavior for command prompt diff. -# -# This is need for earlier builds of msysgit that does not have it on by -# default for csharp files. -# Note: This is only used by command line -############################################################################### -#*.cs diff=csharp - -############################################################################### -# Set the merge driver for project and solution files -# -# Merging from the command prompt will add diff markers to the files if there -# are conflicts (Merging from VS is not affected by the settings below, in VS -# the diff markers are never inserted). Diff markers may cause the following -# file extensions to fail to load in VS. An alternative would be to treat -# these files as binary and thus will always conflict and require user -# intervention with every merge. To do so, just uncomment the entries below -############################################################################### -#*.sln merge=binary -#*.csproj merge=binary -#*.vbproj merge=binary -#*.vcxproj merge=binary -#*.vcproj merge=binary -#*.dbproj merge=binary -#*.fsproj merge=binary -#*.lsproj merge=binary -#*.wixproj merge=binary -#*.modelproj merge=binary -#*.sqlproj merge=binary -#*.wwaproj merge=binary - -############################################################################### -# behavior for image files -# -# image files are treated as binary by default. -############################################################################### -#*.jpg binary -#*.png binary -#*.gif binary - -############################################################################### -# diff behavior for common document formats -# -# Convert binary document formats to text before diffing them. This feature -# is only available from the command line. Turn it on by uncommenting the -# entries below. -############################################################################### -#*.doc diff=astextplain -#*.DOC diff=astextplain -#*.docx diff=astextplain -#*.DOCX diff=astextplain -#*.dot diff=astextplain -#*.DOT diff=astextplain -#*.pdf diff=astextplain -#*.PDF diff=astextplain -#*.rtf diff=astextplain -#*.RTF diff=astextplain diff --git a/SandboxDockerfile b/SandboxDockerfile index 73741d8..23ca227 100644 --- a/SandboxDockerfile +++ b/SandboxDockerfile @@ -71,14 +71,6 @@ RUN apk add --update --no-cache \ rm -r /root/.cache RUN pip3 install numpy -# Install mono -RUN apk add --no-cache --virtual=.build-dependencies wget ca-certificates tar xz && \ - wget "https://www.archlinux.org/packages/extra/x86_64/mono/download/" -O "/tmp/mono.pkg.tar.xz" && \ - tar -xJf "/tmp/mono.pkg.tar.xz" && \ - cert-sync /etc/ssl/certs/ca-certificates.crt && \ - apk del .build-dependencies && \ - rm /tmp/* - # Install battlecode bindings ADD . /battlecode diff --git a/VisualStudioCSSolution/AI.cs b/VisualStudioCSSolution/AI.cs deleted file mode 100644 index 2276abc..0000000 --- a/VisualStudioCSSolution/AI.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using BattleCodeCSharp; - -namespace BattleCodeCSharp -{ - class AI - { - public static void Main() - { - Console.WriteLine("Player c# bot starting"); - Direction dir = Direction.North; - Direction opposite = bc.Direction_opposite(dir); - Console.WriteLine("Opposite direction of " + dir.ToString() + " is " + opposite.ToString()); - Console.WriteLine("Connection to manager..."); - GameController gc = new GameController(); - Console.WriteLine("Connected!"); - while (true) - { - uint round = gc.round(); - Console.WriteLine("Round: " + round); - VecUnit units = gc.my_units(); - uint len = units.len(); - for (uint i = 0; i < len; i++) - { - Unit unit = units.index(i); - ushort id = unit.id(); - if (gc.can_move(id, Direction.North) > 0 && gc.is_move_ready(id) > 0) - { - gc.move_robot(id, Direction.North); - } - } - gc.next_turn(); - } - - } - } -} \ No newline at end of file diff --git a/VisualStudioCSSolution/AsteroidPattern.cs b/VisualStudioCSSolution/AsteroidPattern.cs deleted file mode 100644 index 49d538a..0000000 --- a/VisualStudioCSSolution/AsteroidPattern.cs +++ /dev/null @@ -1,83 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class AsteroidPattern : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal AsteroidPattern(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AsteroidPattern obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~AsteroidPattern() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_AsteroidPattern(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public AsteroidPattern(ushort seed, PlanetMap mars_map) : this(bcPINVOKE.new_AsteroidPattern(seed, PlanetMap.getCPtr(mars_map)), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public void validate() { - bcPINVOKE.AsteroidPattern_validate(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte has_asteroid(uint round) { - byte ret = bcPINVOKE.AsteroidPattern_has_asteroid(swigCPtr, round); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public AsteroidStrike asteroid(uint round) { - global::System.IntPtr cPtr = bcPINVOKE.AsteroidPattern_asteroid(swigCPtr, round); - AsteroidStrike ret = (cPtr == global::System.IntPtr.Zero) ? null : new AsteroidStrike(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public AsteroidPattern clone() { - global::System.IntPtr cPtr = bcPINVOKE.AsteroidPattern_clone(swigCPtr); - AsteroidPattern ret = (cPtr == global::System.IntPtr.Zero) ? null : new AsteroidPattern(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string debug() { - string ret = bcPINVOKE.AsteroidPattern_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.AsteroidPattern_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/AsteroidStrike.cs b/VisualStudioCSSolution/AsteroidStrike.cs deleted file mode 100644 index 59f2179..0000000 --- a/VisualStudioCSSolution/AsteroidStrike.cs +++ /dev/null @@ -1,96 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class AsteroidStrike : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal AsteroidStrike(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AsteroidStrike obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~AsteroidStrike() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_AsteroidStrike(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public AsteroidStrike(uint karbonite, MapLocation location) : this(bcPINVOKE.new_AsteroidStrike(karbonite, MapLocation.getCPtr(location)), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public AsteroidStrike clone() { - global::System.IntPtr cPtr = bcPINVOKE.AsteroidStrike_clone(swigCPtr); - AsteroidStrike ret = (cPtr == global::System.IntPtr.Zero) ? null : new AsteroidStrike(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string debug() { - string ret = bcPINVOKE.AsteroidStrike_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.AsteroidStrike_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte eq(AsteroidStrike other) { - byte ret = bcPINVOKE.AsteroidStrike_eq(swigCPtr, AsteroidStrike.getCPtr(other)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint karbonite { - set { - bcPINVOKE.AsteroidStrike_karbonite_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - uint ret = bcPINVOKE.AsteroidStrike_karbonite_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public MapLocation location { - set { - bcPINVOKE.AsteroidStrike_location_set(swigCPtr, MapLocation.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.AsteroidStrike_location_get(swigCPtr); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/Delta.cs b/VisualStudioCSSolution/Delta.cs deleted file mode 100644 index f88184d..0000000 --- a/VisualStudioCSSolution/Delta.cs +++ /dev/null @@ -1,52 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class Delta : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Delta(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Delta obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~Delta() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_Delta(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public Delta() : this(bcPINVOKE.new_Delta(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string to_json() { - string ret = bcPINVOKE.Delta_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/Direction.cs b/VisualStudioCSSolution/Direction.cs deleted file mode 100644 index 7654c4b..0000000 --- a/VisualStudioCSSolution/Direction.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public enum Direction { - North = 0, - Northeast = 1, - East = 2, - Southeast = 3, - South = 4, - Southwest = 5, - West = 6, - Northwest = 7, - Center = 8 -} diff --git a/VisualStudioCSSolution/ErrorMessage.cs b/VisualStudioCSSolution/ErrorMessage.cs deleted file mode 100644 index c420657..0000000 --- a/VisualStudioCSSolution/ErrorMessage.cs +++ /dev/null @@ -1,70 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class ErrorMessage : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal ErrorMessage(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ErrorMessage obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~ErrorMessage() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_ErrorMessage(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public ErrorMessage() : this(bcPINVOKE.new_ErrorMessage(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string to_json() { - string ret = bcPINVOKE.ErrorMessage_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string debug() { - string ret = bcPINVOKE.ErrorMessage_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string error { - set { - bcPINVOKE.ErrorMessage_error_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - string ret = bcPINVOKE.ErrorMessage_error_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/GameController.cs b/VisualStudioCSSolution/GameController.cs deleted file mode 100644 index c4884c7..0000000 --- a/VisualStudioCSSolution/GameController.cs +++ /dev/null @@ -1,506 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class GameController : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal GameController(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GameController obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~GameController() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_GameController(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public GameController() : this(bcPINVOKE.new_GameController(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public void next_turn() { - bcPINVOKE.GameController_next_turn(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public uint round() { - uint ret = bcPINVOKE.GameController_round(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Planet planet() { - Planet ret = (Planet)bcPINVOKE.GameController_planet(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Team team() { - Team ret = (Team)bcPINVOKE.GameController_team(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public PlanetMap starting_map(Planet planet) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_starting_map(swigCPtr, (int)planet); - PlanetMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PlanetMap(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint karbonite() { - uint ret = bcPINVOKE.GameController_karbonite(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Unit unit(ushort id) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_unit(swigCPtr, id); - Unit ret = (cPtr == global::System.IntPtr.Zero) ? null : new Unit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnit units() { - global::System.IntPtr cPtr = bcPINVOKE.GameController_units(swigCPtr); - VecUnit ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnit my_units() { - global::System.IntPtr cPtr = bcPINVOKE.GameController_my_units(swigCPtr); - VecUnit ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnit units_in_space() { - global::System.IntPtr cPtr = bcPINVOKE.GameController_units_in_space(swigCPtr); - VecUnit ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint karbonite_at(MapLocation location) { - uint ret = bcPINVOKE.GameController_karbonite_at(swigCPtr, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecMapLocation all_locations_within(MapLocation location, uint radius_squared) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_all_locations_within(swigCPtr, MapLocation.getCPtr(location), radius_squared); - VecMapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecMapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte can_sense_location(MapLocation location) { - byte ret = bcPINVOKE.GameController_can_sense_location(swigCPtr, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte can_sense_unit(ushort id) { - byte ret = bcPINVOKE.GameController_can_sense_unit(swigCPtr, id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnit sense_nearby_units(MapLocation location, uint radius) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_sense_nearby_units(swigCPtr, MapLocation.getCPtr(location), radius); - VecUnit ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnit sense_nearby_units_by_team(MapLocation location, uint radius, Team team) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_sense_nearby_units_by_team(swigCPtr, MapLocation.getCPtr(location), radius, (int)team); - VecUnit ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnit sense_nearby_units_by_type(MapLocation location, uint radius, UnitType unit_type) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_sense_nearby_units_by_type(swigCPtr, MapLocation.getCPtr(location), radius, (int)unit_type); - VecUnit ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte has_unit_at_location(MapLocation location) { - byte ret = bcPINVOKE.GameController_has_unit_at_location(swigCPtr, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Unit sense_unit_at_location(MapLocation location) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_sense_unit_at_location(swigCPtr, MapLocation.getCPtr(location)); - Unit ret = (cPtr == global::System.IntPtr.Zero) ? null : new Unit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public AsteroidPattern asteroid_pattern() { - global::System.IntPtr cPtr = bcPINVOKE.GameController_asteroid_pattern(swigCPtr); - AsteroidPattern ret = (cPtr == global::System.IntPtr.Zero) ? null : new AsteroidPattern(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public OrbitPattern orbit_pattern() { - global::System.IntPtr cPtr = bcPINVOKE.GameController_orbit_pattern(swigCPtr); - OrbitPattern ret = (cPtr == global::System.IntPtr.Zero) ? null : new OrbitPattern(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint current_duration_of_flight() { - uint ret = bcPINVOKE.GameController_current_duration_of_flight(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Veci32 get_team_array(Planet planet) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_get_team_array(swigCPtr, (int)planet); - Veci32 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Veci32(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void write_team_array(uint index, int value) { - bcPINVOKE.GameController_write_team_array(swigCPtr, index, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public void disintegrate_unit(ushort unit_id) { - bcPINVOKE.GameController_disintegrate_unit(swigCPtr, unit_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte is_occupiable(MapLocation location) { - byte ret = bcPINVOKE.GameController_is_occupiable(swigCPtr, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte can_move(ushort robot_id, Direction direction) { - byte ret = bcPINVOKE.GameController_can_move(swigCPtr, robot_id, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_move_ready(ushort robot_id) { - byte ret = bcPINVOKE.GameController_is_move_ready(swigCPtr, robot_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void move_robot(ushort robot_id, Direction direction) { - bcPINVOKE.GameController_move_robot(swigCPtr, robot_id, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_attack(ushort robot_id, ushort target_unit_id) { - byte ret = bcPINVOKE.GameController_can_attack(swigCPtr, robot_id, target_unit_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_attack_ready(ushort robot_id) { - byte ret = bcPINVOKE.GameController_is_attack_ready(swigCPtr, robot_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void attack(ushort robot_id, ushort target_unit_id) { - bcPINVOKE.GameController_attack(swigCPtr, robot_id, target_unit_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public ResearchInfo research_info() { - global::System.IntPtr cPtr = bcPINVOKE.GameController_research_info(swigCPtr); - ResearchInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new ResearchInfo(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte reset_research() { - byte ret = bcPINVOKE.GameController_reset_research(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte queue_research(UnitType branch) { - byte ret = bcPINVOKE.GameController_queue_research(swigCPtr, (int)branch); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte can_harvest(ushort worker_id, Direction direction) { - byte ret = bcPINVOKE.GameController_can_harvest(swigCPtr, worker_id, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void harvest(ushort worker_id, Direction direction) { - bcPINVOKE.GameController_harvest(swigCPtr, worker_id, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_blueprint(ushort worker_id, UnitType unit_type, Direction direction) { - byte ret = bcPINVOKE.GameController_can_blueprint(swigCPtr, worker_id, (int)unit_type, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void blueprint(ushort worker_id, UnitType structure_type, Direction direction) { - bcPINVOKE.GameController_blueprint(swigCPtr, worker_id, (int)structure_type, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_build(ushort worker_id, ushort blueprint_id) { - byte ret = bcPINVOKE.GameController_can_build(swigCPtr, worker_id, blueprint_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void build(ushort worker_id, ushort blueprint_id) { - bcPINVOKE.GameController_build(swigCPtr, worker_id, blueprint_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_repair(ushort worker_id, ushort structure_id) { - byte ret = bcPINVOKE.GameController_can_repair(swigCPtr, worker_id, structure_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void repair(ushort worker_id, ushort structure_id) { - bcPINVOKE.GameController_repair(swigCPtr, worker_id, structure_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_replicate(ushort worker_id, Direction direction) { - byte ret = bcPINVOKE.GameController_can_replicate(swigCPtr, worker_id, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void replicate(ushort worker_id, Direction direction) { - bcPINVOKE.GameController_replicate(swigCPtr, worker_id, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_javelin(ushort knight_id, ushort target_unit_id) { - byte ret = bcPINVOKE.GameController_can_javelin(swigCPtr, knight_id, target_unit_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_javelin_ready(ushort knight_id) { - byte ret = bcPINVOKE.GameController_is_javelin_ready(swigCPtr, knight_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void javelin(ushort knight_id, ushort target_unit_id) { - bcPINVOKE.GameController_javelin(swigCPtr, knight_id, target_unit_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_begin_snipe(ushort ranger_id, MapLocation location) { - byte ret = bcPINVOKE.GameController_can_begin_snipe(swigCPtr, ranger_id, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_begin_snipe_ready(ushort ranger_id) { - byte ret = bcPINVOKE.GameController_is_begin_snipe_ready(swigCPtr, ranger_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void begin_snipe(ushort ranger_id, MapLocation location) { - bcPINVOKE.GameController_begin_snipe(swigCPtr, ranger_id, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_blink(ushort mage_id, MapLocation location) { - byte ret = bcPINVOKE.GameController_can_blink(swigCPtr, mage_id, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_blink_ready(ushort mage_id) { - byte ret = bcPINVOKE.GameController_is_blink_ready(swigCPtr, mage_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void blink(ushort mage_id, MapLocation location) { - bcPINVOKE.GameController_blink(swigCPtr, mage_id, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_heal(ushort healer_id, ushort target_robot_id) { - byte ret = bcPINVOKE.GameController_can_heal(swigCPtr, healer_id, target_robot_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_heal_ready(ushort healer_id) { - byte ret = bcPINVOKE.GameController_is_heal_ready(swigCPtr, healer_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void heal(ushort healer_id, ushort target_robot_id) { - bcPINVOKE.GameController_heal(swigCPtr, healer_id, target_robot_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_overcharge(ushort healer_id, ushort target_robot_id) { - byte ret = bcPINVOKE.GameController_can_overcharge(swigCPtr, healer_id, target_robot_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_overcharge_ready(ushort healer_id) { - byte ret = bcPINVOKE.GameController_is_overcharge_ready(swigCPtr, healer_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void overcharge(ushort healer_id, ushort target_robot_id) { - bcPINVOKE.GameController_overcharge(swigCPtr, healer_id, target_robot_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_load(ushort structure_id, ushort robot_id) { - byte ret = bcPINVOKE.GameController_can_load(swigCPtr, structure_id, robot_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void load(ushort structure_id, ushort robot_id) { - bcPINVOKE.GameController_load(swigCPtr, structure_id, robot_id); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_unload(ushort structure_id, Direction direction) { - byte ret = bcPINVOKE.GameController_can_unload(swigCPtr, structure_id, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void unload(ushort structure_id, Direction direction) { - bcPINVOKE.GameController_unload(swigCPtr, structure_id, (int)direction); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte can_produce_robot(ushort factory_id, UnitType robot_type) { - byte ret = bcPINVOKE.GameController_can_produce_robot(swigCPtr, factory_id, (int)robot_type); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void produce_robot(ushort factory_id, UnitType robot_type) { - bcPINVOKE.GameController_produce_robot(swigCPtr, factory_id, (int)robot_type); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public RocketLandingInfo rocket_landings() { - global::System.IntPtr cPtr = bcPINVOKE.GameController_rocket_landings(swigCPtr); - RocketLandingInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new RocketLandingInfo(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte can_launch_rocket(ushort rocket_id, MapLocation destination) { - byte ret = bcPINVOKE.GameController_can_launch_rocket(swigCPtr, rocket_id, MapLocation.getCPtr(destination)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void launch_rocket(ushort rocket_id, MapLocation location) { - bcPINVOKE.GameController_launch_rocket(swigCPtr, rocket_id, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public StartGameMessage start_game(Player player) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_start_game(swigCPtr, Player.getCPtr(player)); - StartGameMessage ret = (cPtr == global::System.IntPtr.Zero) ? null : new StartGameMessage(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public TurnApplication apply_turn(TurnMessage turn) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_apply_turn(swigCPtr, TurnMessage.getCPtr(turn)); - TurnApplication ret = (cPtr == global::System.IntPtr.Zero) ? null : new TurnApplication(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public InitialTurnApplication initial_start_turn_message() { - global::System.IntPtr cPtr = bcPINVOKE.GameController_initial_start_turn_message(swigCPtr); - InitialTurnApplication ret = (cPtr == global::System.IntPtr.Zero) ? null : new InitialTurnApplication(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_over() { - byte ret = bcPINVOKE.GameController_is_over(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Team winning_team() { - Team ret = (Team)bcPINVOKE.GameController_winning_team(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string manager_viewer_message() { - string ret = bcPINVOKE.GameController_manager_viewer_message(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void print_game_ansi() { - bcPINVOKE.GameController_print_game_ansi(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public uint manager_karbonite(Team team) { - uint ret = bcPINVOKE.GameController_manager_karbonite(swigCPtr, (int)team); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/GameMap.cs b/VisualStudioCSSolution/GameMap.cs deleted file mode 100644 index 331470d..0000000 --- a/VisualStudioCSSolution/GameMap.cs +++ /dev/null @@ -1,128 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class GameMap : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal GameMap(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GameMap obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~GameMap() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_GameMap(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public GameMap() : this(bcPINVOKE.new_GameMap(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public void validate() { - bcPINVOKE.GameMap_validate(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public GameMap clone() { - global::System.IntPtr cPtr = bcPINVOKE.GameMap_clone(swigCPtr); - GameMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameMap(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.GameMap_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public ushort seed { - set { - bcPINVOKE.GameMap_seed_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - ushort ret = bcPINVOKE.GameMap_seed_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public PlanetMap earth_map { - set { - bcPINVOKE.GameMap_earth_map_set(swigCPtr, PlanetMap.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.GameMap_earth_map_get(swigCPtr); - PlanetMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PlanetMap(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public PlanetMap mars_map { - set { - bcPINVOKE.GameMap_mars_map_set(swigCPtr, PlanetMap.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.GameMap_mars_map_get(swigCPtr); - PlanetMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PlanetMap(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public AsteroidPattern asteroids { - set { - bcPINVOKE.GameMap_asteroids_set(swigCPtr, AsteroidPattern.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.GameMap_asteroids_get(swigCPtr); - AsteroidPattern ret = (cPtr == global::System.IntPtr.Zero) ? null : new AsteroidPattern(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public OrbitPattern orbit { - set { - bcPINVOKE.GameMap_orbit_set(swigCPtr, OrbitPattern.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.GameMap_orbit_get(swigCPtr); - OrbitPattern ret = (cPtr == global::System.IntPtr.Zero) ? null : new OrbitPattern(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/InitialTurnApplication.cs b/VisualStudioCSSolution/InitialTurnApplication.cs deleted file mode 100644 index 60479b1..0000000 --- a/VisualStudioCSSolution/InitialTurnApplication.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class InitialTurnApplication : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal InitialTurnApplication(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InitialTurnApplication obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~InitialTurnApplication() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_InitialTurnApplication(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public InitialTurnApplication() : this(bcPINVOKE.new_InitialTurnApplication(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public StartTurnMessage start_turn { - set { - bcPINVOKE.InitialTurnApplication_start_turn_set(swigCPtr, StartTurnMessage.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.InitialTurnApplication_start_turn_get(swigCPtr); - StartTurnMessage ret = (cPtr == global::System.IntPtr.Zero) ? null : new StartTurnMessage(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public ViewerKeyframe viewer { - set { - bcPINVOKE.InitialTurnApplication_viewer_set(swigCPtr, ViewerKeyframe.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.InitialTurnApplication_viewer_get(swigCPtr); - ViewerKeyframe ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewerKeyframe(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/Location.cs b/VisualStudioCSSolution/Location.cs deleted file mode 100644 index 704dc2a..0000000 --- a/VisualStudioCSSolution/Location.cs +++ /dev/null @@ -1,120 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class Location : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Location(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Location obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~Location() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_Location(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public Location() : this(bcPINVOKE.new_Location(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte is_on_map() { - byte ret = bcPINVOKE.Location_is_on_map(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_on_planet(Planet planet) { - byte ret = bcPINVOKE.Location_is_on_planet(swigCPtr, (int)planet); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public MapLocation map_location() { - global::System.IntPtr cPtr = bcPINVOKE.Location_map_location(swigCPtr); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_in_garrison() { - byte ret = bcPINVOKE.Location_is_in_garrison(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public ushort structure() { - ushort ret = bcPINVOKE.Location_structure(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_in_space() { - byte ret = bcPINVOKE.Location_is_in_space(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_adjacent_to(Location o) { - byte ret = bcPINVOKE.Location_is_adjacent_to(swigCPtr, Location.getCPtr(o)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_within_range(uint range, Location o) { - byte ret = bcPINVOKE.Location_is_within_range(swigCPtr, range, Location.getCPtr(o)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string debug() { - string ret = bcPINVOKE.Location_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Location clone() { - global::System.IntPtr cPtr = bcPINVOKE.Location_clone(swigCPtr); - Location ret = (cPtr == global::System.IntPtr.Zero) ? null : new Location(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte eq(Location other) { - byte ret = bcPINVOKE.Location_eq(swigCPtr, Location.getCPtr(other)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.Location_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/MapLocation.cs b/VisualStudioCSSolution/MapLocation.cs deleted file mode 100644 index d475571..0000000 --- a/VisualStudioCSSolution/MapLocation.cs +++ /dev/null @@ -1,159 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class MapLocation : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal MapLocation(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MapLocation obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~MapLocation() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_MapLocation(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public MapLocation(Planet planet, int x, int y) : this(bcPINVOKE.new_MapLocation((int)planet, x, y), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public MapLocation add(Direction direction) { - global::System.IntPtr cPtr = bcPINVOKE.MapLocation_add(swigCPtr, (int)direction); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public MapLocation subtract(Direction direction) { - global::System.IntPtr cPtr = bcPINVOKE.MapLocation_subtract(swigCPtr, (int)direction); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public MapLocation add_multiple(Direction direction, int multiple) { - global::System.IntPtr cPtr = bcPINVOKE.MapLocation_add_multiple(swigCPtr, (int)direction, multiple); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public MapLocation translate(int dx, int dy) { - global::System.IntPtr cPtr = bcPINVOKE.MapLocation_translate(swigCPtr, dx, dy); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint distance_squared_to(MapLocation o) { - uint ret = bcPINVOKE.MapLocation_distance_squared_to(swigCPtr, MapLocation.getCPtr(o)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Direction direction_to(MapLocation o) { - Direction ret = (Direction)bcPINVOKE.MapLocation_direction_to(swigCPtr, MapLocation.getCPtr(o)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_adjacent_to(MapLocation o) { - byte ret = bcPINVOKE.MapLocation_is_adjacent_to(swigCPtr, MapLocation.getCPtr(o)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_within_range(uint range, MapLocation o) { - byte ret = bcPINVOKE.MapLocation_is_within_range(swigCPtr, range, MapLocation.getCPtr(o)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string debug() { - string ret = bcPINVOKE.MapLocation_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public MapLocation clone() { - global::System.IntPtr cPtr = bcPINVOKE.MapLocation_clone(swigCPtr); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte eq(MapLocation other) { - byte ret = bcPINVOKE.MapLocation_eq(swigCPtr, MapLocation.getCPtr(other)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.MapLocation_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Planet planet { - set { - bcPINVOKE.MapLocation_planet_set(swigCPtr, (int)value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - Planet ret = (Planet)bcPINVOKE.MapLocation_planet_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public int x { - set { - bcPINVOKE.MapLocation_x_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - int ret = bcPINVOKE.MapLocation_x_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public int y { - set { - bcPINVOKE.MapLocation_y_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - int ret = bcPINVOKE.MapLocation_y_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/OrbitPattern.cs b/VisualStudioCSSolution/OrbitPattern.cs deleted file mode 100644 index bc6a2ea..0000000 --- a/VisualStudioCSSolution/OrbitPattern.cs +++ /dev/null @@ -1,99 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class OrbitPattern : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal OrbitPattern(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OrbitPattern obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~OrbitPattern() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_OrbitPattern(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public OrbitPattern(uint amplitude, uint period, uint center) : this(bcPINVOKE.new_OrbitPattern(amplitude, period, center), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public void validate() { - bcPINVOKE.OrbitPattern_validate(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public uint duration(uint round) { - uint ret = bcPINVOKE.OrbitPattern_duration(swigCPtr, round); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.OrbitPattern_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint amplitude { - set { - bcPINVOKE.OrbitPattern_amplitude_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - uint ret = bcPINVOKE.OrbitPattern_amplitude_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public uint period { - set { - bcPINVOKE.OrbitPattern_period_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - uint ret = bcPINVOKE.OrbitPattern_period_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public uint center { - set { - bcPINVOKE.OrbitPattern_center_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - uint ret = bcPINVOKE.OrbitPattern_center_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/Planet.cs b/VisualStudioCSSolution/Planet.cs deleted file mode 100644 index 1dd9b74..0000000 --- a/VisualStudioCSSolution/Planet.cs +++ /dev/null @@ -1,15 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public enum Planet { - Earth = 0, - Mars = 1 -} diff --git a/VisualStudioCSSolution/PlanetMap.cs b/VisualStudioCSSolution/PlanetMap.cs deleted file mode 100644 index b4e3f28..0000000 --- a/VisualStudioCSSolution/PlanetMap.cs +++ /dev/null @@ -1,131 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class PlanetMap : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal PlanetMap(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PlanetMap obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~PlanetMap() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_PlanetMap(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public PlanetMap() : this(bcPINVOKE.new_PlanetMap(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public void validate() { - bcPINVOKE.PlanetMap_validate(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public byte on_map(MapLocation location) { - byte ret = bcPINVOKE.PlanetMap_on_map(swigCPtr, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_passable_terrain_at(MapLocation location) { - byte ret = bcPINVOKE.PlanetMap_is_passable_terrain_at(swigCPtr, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint initial_karbonite_at(MapLocation location) { - uint ret = bcPINVOKE.PlanetMap_initial_karbonite_at(swigCPtr, MapLocation.getCPtr(location)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public PlanetMap clone() { - global::System.IntPtr cPtr = bcPINVOKE.PlanetMap_clone(swigCPtr); - PlanetMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PlanetMap(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.PlanetMap_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Planet planet { - set { - bcPINVOKE.PlanetMap_planet_set(swigCPtr, (int)value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - Planet ret = (Planet)bcPINVOKE.PlanetMap_planet_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public uint height { - set { - bcPINVOKE.PlanetMap_height_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - uint ret = bcPINVOKE.PlanetMap_height_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public uint width { - set { - bcPINVOKE.PlanetMap_width_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - uint ret = bcPINVOKE.PlanetMap_width_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public VecUnit initial_units { - set { - bcPINVOKE.PlanetMap_initial_units_set(swigCPtr, VecUnit.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.PlanetMap_initial_units_get(swigCPtr); - VecUnit ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/Player.cs b/VisualStudioCSSolution/Player.cs deleted file mode 100644 index 66e0465..0000000 --- a/VisualStudioCSSolution/Player.cs +++ /dev/null @@ -1,95 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class Player : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Player(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Player obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~Player() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_Player(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public Player(Team team, Planet planet) : this(bcPINVOKE.new_Player((int)team, (int)planet), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string debug() { - string ret = bcPINVOKE.Player_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Player clone() { - global::System.IntPtr cPtr = bcPINVOKE.Player_clone(swigCPtr); - Player ret = (cPtr == global::System.IntPtr.Zero) ? null : new Player(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte eq(Player other) { - byte ret = bcPINVOKE.Player_eq(swigCPtr, Player.getCPtr(other)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.Player_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Team team { - set { - bcPINVOKE.Player_team_set(swigCPtr, (int)value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - Team ret = (Team)bcPINVOKE.Player_team_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public Planet planet { - set { - bcPINVOKE.Player_planet_set(swigCPtr, (int)value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - Planet ret = (Planet)bcPINVOKE.Player_planet_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/ResearchInfo.cs b/VisualStudioCSSolution/ResearchInfo.cs deleted file mode 100644 index 7010554..0000000 --- a/VisualStudioCSSolution/ResearchInfo.cs +++ /dev/null @@ -1,83 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class ResearchInfo : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal ResearchInfo(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ResearchInfo obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~ResearchInfo() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_ResearchInfo(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public ResearchInfo() : this(bcPINVOKE.new_ResearchInfo(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public uint get_level(UnitType branch) { - uint ret = bcPINVOKE.ResearchInfo_get_level(swigCPtr, (int)branch); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnitType queue() { - global::System.IntPtr cPtr = bcPINVOKE.ResearchInfo_queue(swigCPtr); - VecUnitType ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnitType(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte has_next_in_queue() { - byte ret = bcPINVOKE.ResearchInfo_has_next_in_queue(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public UnitType next_in_queue() { - UnitType ret = (UnitType)bcPINVOKE.ResearchInfo_next_in_queue(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint rounds_left() { - uint ret = bcPINVOKE.ResearchInfo_rounds_left(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.ResearchInfo_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/RocketLanding.cs b/VisualStudioCSSolution/RocketLanding.cs deleted file mode 100644 index 8eb6e11..0000000 --- a/VisualStudioCSSolution/RocketLanding.cs +++ /dev/null @@ -1,96 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class RocketLanding : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal RocketLanding(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RocketLanding obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~RocketLanding() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_RocketLanding(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public RocketLanding(ushort rocket_id, MapLocation destination) : this(bcPINVOKE.new_RocketLanding(rocket_id, MapLocation.getCPtr(destination)), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public RocketLanding clone() { - global::System.IntPtr cPtr = bcPINVOKE.RocketLanding_clone(swigCPtr); - RocketLanding ret = (cPtr == global::System.IntPtr.Zero) ? null : new RocketLanding(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string debug() { - string ret = bcPINVOKE.RocketLanding_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.RocketLanding_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte eq(RocketLanding other) { - byte ret = bcPINVOKE.RocketLanding_eq(swigCPtr, RocketLanding.getCPtr(other)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public ushort rocket_id { - set { - bcPINVOKE.RocketLanding_rocket_id_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - ushort ret = bcPINVOKE.RocketLanding_rocket_id_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public MapLocation destination { - set { - bcPINVOKE.RocketLanding_destination_set(swigCPtr, MapLocation.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.RocketLanding_destination_get(swigCPtr); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/RocketLandingInfo.cs b/VisualStudioCSSolution/RocketLandingInfo.cs deleted file mode 100644 index 3b3b07d..0000000 --- a/VisualStudioCSSolution/RocketLandingInfo.cs +++ /dev/null @@ -1,78 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class RocketLandingInfo : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal RocketLandingInfo(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RocketLandingInfo obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~RocketLandingInfo() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_RocketLandingInfo(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public RocketLandingInfo() : this(bcPINVOKE.new_RocketLandingInfo(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public VecRocketLanding landings_on(uint round) { - global::System.IntPtr cPtr = bcPINVOKE.RocketLandingInfo_landings_on(swigCPtr, round); - VecRocketLanding ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecRocketLanding(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public RocketLandingInfo clone() { - global::System.IntPtr cPtr = bcPINVOKE.RocketLandingInfo_clone(swigCPtr); - RocketLandingInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new RocketLandingInfo(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string debug() { - string ret = bcPINVOKE.RocketLandingInfo_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.RocketLandingInfo_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte eq(RocketLandingInfo other) { - byte ret = bcPINVOKE.RocketLandingInfo_eq(swigCPtr, RocketLandingInfo.getCPtr(other)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/StartGameMessage.cs b/VisualStudioCSSolution/StartGameMessage.cs deleted file mode 100644 index 5d9f691..0000000 --- a/VisualStudioCSSolution/StartGameMessage.cs +++ /dev/null @@ -1,52 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class StartGameMessage : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal StartGameMessage(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StartGameMessage obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~StartGameMessage() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_StartGameMessage(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public StartGameMessage() : this(bcPINVOKE.new_StartGameMessage(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string to_json() { - string ret = bcPINVOKE.StartGameMessage_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/StartTurnMessage.cs b/VisualStudioCSSolution/StartTurnMessage.cs deleted file mode 100644 index 3b004d3..0000000 --- a/VisualStudioCSSolution/StartTurnMessage.cs +++ /dev/null @@ -1,64 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class StartTurnMessage : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal StartTurnMessage(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StartTurnMessage obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~StartTurnMessage() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_StartTurnMessage(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public StartTurnMessage() : this(bcPINVOKE.new_StartTurnMessage(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string to_json() { - string ret = bcPINVOKE.StartTurnMessage_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint round { - set { - bcPINVOKE.StartTurnMessage_round_set(swigCPtr, value); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - uint ret = bcPINVOKE.StartTurnMessage_round_get(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/Team.cs b/VisualStudioCSSolution/Team.cs deleted file mode 100644 index 4cd3412..0000000 --- a/VisualStudioCSSolution/Team.cs +++ /dev/null @@ -1,15 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public enum Team { - Red = 0, - Blue = 1 -} diff --git a/VisualStudioCSSolution/TurnApplication.cs b/VisualStudioCSSolution/TurnApplication.cs deleted file mode 100644 index 298acc2..0000000 --- a/VisualStudioCSSolution/TurnApplication.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class TurnApplication : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal TurnApplication(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TurnApplication obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~TurnApplication() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_TurnApplication(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public TurnApplication() : this(bcPINVOKE.new_TurnApplication(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public StartTurnMessage start_turn { - set { - bcPINVOKE.TurnApplication_start_turn_set(swigCPtr, StartTurnMessage.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.TurnApplication_start_turn_get(swigCPtr); - StartTurnMessage ret = (cPtr == global::System.IntPtr.Zero) ? null : new StartTurnMessage(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public ViewerMessage viewer { - set { - bcPINVOKE.TurnApplication_viewer_set(swigCPtr, ViewerMessage.getCPtr(value)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - get { - global::System.IntPtr cPtr = bcPINVOKE.TurnApplication_viewer_get(swigCPtr); - ViewerMessage ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewerMessage(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - -} diff --git a/VisualStudioCSSolution/TurnMessage.cs b/VisualStudioCSSolution/TurnMessage.cs deleted file mode 100644 index 8f573ab..0000000 --- a/VisualStudioCSSolution/TurnMessage.cs +++ /dev/null @@ -1,52 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class TurnMessage : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal TurnMessage(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TurnMessage obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~TurnMessage() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_TurnMessage(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public TurnMessage() : this(bcPINVOKE.new_TurnMessage(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string to_json() { - string ret = bcPINVOKE.TurnMessage_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/Unit.cs b/VisualStudioCSSolution/Unit.cs deleted file mode 100644 index 1bffa51..0000000 --- a/VisualStudioCSSolution/Unit.cs +++ /dev/null @@ -1,308 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class Unit : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Unit(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Unit obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~Unit() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_Unit(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public Unit() : this(bcPINVOKE.new_Unit(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string debug() { - string ret = bcPINVOKE.Unit_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Unit clone() { - global::System.IntPtr cPtr = bcPINVOKE.Unit_clone(swigCPtr); - Unit ret = (cPtr == global::System.IntPtr.Zero) ? null : new Unit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string to_json() { - string ret = bcPINVOKE.Unit_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte eq(Unit other) { - byte ret = bcPINVOKE.Unit_eq(swigCPtr, Unit.getCPtr(other)); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public ushort id() { - ushort ret = bcPINVOKE.Unit_id(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Team team() { - Team ret = (Team)bcPINVOKE.Unit_team(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint research_level() { - uint ret = bcPINVOKE.Unit_research_level(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public UnitType unit_type() { - UnitType ret = (UnitType)bcPINVOKE.Unit_unit_type(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Location location() { - global::System.IntPtr cPtr = bcPINVOKE.Unit_location(swigCPtr); - Location ret = (cPtr == global::System.IntPtr.Zero) ? null : new Location(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint health() { - uint ret = bcPINVOKE.Unit_health(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint max_health() { - uint ret = bcPINVOKE.Unit_max_health(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint vision_range() { - uint ret = bcPINVOKE.Unit_vision_range(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int damage() { - int ret = bcPINVOKE.Unit_damage(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint attack_range() { - uint ret = bcPINVOKE.Unit_attack_range(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint movement_heat() { - uint ret = bcPINVOKE.Unit_movement_heat(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint attack_heat() { - uint ret = bcPINVOKE.Unit_attack_heat(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint movement_cooldown() { - uint ret = bcPINVOKE.Unit_movement_cooldown(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint attack_cooldown() { - uint ret = bcPINVOKE.Unit_attack_cooldown(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_ability_unlocked() { - byte ret = bcPINVOKE.Unit_is_ability_unlocked(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint ability_heat() { - uint ret = bcPINVOKE.Unit_ability_heat(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint ability_cooldown() { - uint ret = bcPINVOKE.Unit_ability_cooldown(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint ability_range() { - uint ret = bcPINVOKE.Unit_ability_range(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte worker_has_acted() { - byte ret = bcPINVOKE.Unit_worker_has_acted(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint worker_build_health() { - uint ret = bcPINVOKE.Unit_worker_build_health(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint worker_repair_health() { - uint ret = bcPINVOKE.Unit_worker_repair_health(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint worker_harvest_amount() { - uint ret = bcPINVOKE.Unit_worker_harvest_amount(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint knight_defense() { - uint ret = bcPINVOKE.Unit_knight_defense(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint ranger_cannot_attack_range() { - uint ret = bcPINVOKE.Unit_ranger_cannot_attack_range(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint ranger_max_countdown() { - uint ret = bcPINVOKE.Unit_ranger_max_countdown(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte ranger_is_sniping() { - byte ret = bcPINVOKE.Unit_ranger_is_sniping(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public MapLocation ranger_target_location() { - global::System.IntPtr cPtr = bcPINVOKE.Unit_ranger_target_location(swigCPtr); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint ranger_countdown() { - uint ret = bcPINVOKE.Unit_ranger_countdown(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint healer_self_heal_amount() { - uint ret = bcPINVOKE.Unit_healer_self_heal_amount(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte structure_is_built() { - byte ret = bcPINVOKE.Unit_structure_is_built(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint structure_max_capacity() { - uint ret = bcPINVOKE.Unit_structure_max_capacity(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnitID structure_garrison() { - global::System.IntPtr cPtr = bcPINVOKE.Unit_structure_garrison(swigCPtr); - VecUnitID ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnitID(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte is_factory_producing() { - byte ret = bcPINVOKE.Unit_is_factory_producing(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public UnitType factory_unit_type() { - UnitType ret = (UnitType)bcPINVOKE.Unit_factory_unit_type(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint factory_rounds_left() { - uint ret = bcPINVOKE.Unit_factory_rounds_left(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint factory_max_rounds_left() { - uint ret = bcPINVOKE.Unit_factory_max_rounds_left(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public byte rocket_is_used() { - byte ret = bcPINVOKE.Unit_rocket_is_used(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int rocket_blast_damage() { - int ret = bcPINVOKE.Unit_rocket_blast_damage(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint rocket_travel_time_decrease() { - uint ret = bcPINVOKE.Unit_rocket_travel_time_decrease(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/UnitType.cs b/VisualStudioCSSolution/UnitType.cs deleted file mode 100644 index c2ab943..0000000 --- a/VisualStudioCSSolution/UnitType.cs +++ /dev/null @@ -1,20 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public enum UnitType { - Worker = 0, - Knight = 1, - Ranger = 2, - Mage = 3, - Healer = 4, - Factory = 5, - Rocket = 6 -} diff --git a/VisualStudioCSSolution/VecMapLocation.cs b/VisualStudioCSSolution/VecMapLocation.cs deleted file mode 100644 index a0b26fc..0000000 --- a/VisualStudioCSSolution/VecMapLocation.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class VecMapLocation : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal VecMapLocation(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VecMapLocation obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~VecMapLocation() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_VecMapLocation(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public VecMapLocation() : this(bcPINVOKE.new_VecMapLocation(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string debug() { - string ret = bcPINVOKE.VecMapLocation_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecMapLocation clone() { - global::System.IntPtr cPtr = bcPINVOKE.VecMapLocation_clone(swigCPtr); - VecMapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecMapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint len() { - uint ret = bcPINVOKE.VecMapLocation_len(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public MapLocation index(uint index) { - global::System.IntPtr cPtr = bcPINVOKE.VecMapLocation_index(swigCPtr, index); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/VecRocketLanding.cs b/VisualStudioCSSolution/VecRocketLanding.cs deleted file mode 100644 index 1bc868c..0000000 --- a/VisualStudioCSSolution/VecRocketLanding.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class VecRocketLanding : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal VecRocketLanding(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VecRocketLanding obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~VecRocketLanding() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_VecRocketLanding(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public VecRocketLanding() : this(bcPINVOKE.new_VecRocketLanding(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string debug() { - string ret = bcPINVOKE.VecRocketLanding_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecRocketLanding clone() { - global::System.IntPtr cPtr = bcPINVOKE.VecRocketLanding_clone(swigCPtr); - VecRocketLanding ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecRocketLanding(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint len() { - uint ret = bcPINVOKE.VecRocketLanding_len(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public RocketLanding index(uint index) { - global::System.IntPtr cPtr = bcPINVOKE.VecRocketLanding_index(swigCPtr, index); - RocketLanding ret = (cPtr == global::System.IntPtr.Zero) ? null : new RocketLanding(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/VecUnit.cs b/VisualStudioCSSolution/VecUnit.cs deleted file mode 100644 index 9590e5c..0000000 --- a/VisualStudioCSSolution/VecUnit.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class VecUnit : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal VecUnit(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VecUnit obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~VecUnit() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_VecUnit(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public VecUnit() : this(bcPINVOKE.new_VecUnit(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string debug() { - string ret = bcPINVOKE.VecUnit_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnit clone() { - global::System.IntPtr cPtr = bcPINVOKE.VecUnit_clone(swigCPtr); - VecUnit ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint len() { - uint ret = bcPINVOKE.VecUnit_len(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Unit index(uint index) { - global::System.IntPtr cPtr = bcPINVOKE.VecUnit_index(swigCPtr, index); - Unit ret = (cPtr == global::System.IntPtr.Zero) ? null : new Unit(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/VecUnitID.cs b/VisualStudioCSSolution/VecUnitID.cs deleted file mode 100644 index d94f613..0000000 --- a/VisualStudioCSSolution/VecUnitID.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class VecUnitID : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal VecUnitID(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VecUnitID obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~VecUnitID() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_VecUnitID(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public VecUnitID() : this(bcPINVOKE.new_VecUnitID(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string debug() { - string ret = bcPINVOKE.VecUnitID_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnitID clone() { - global::System.IntPtr cPtr = bcPINVOKE.VecUnitID_clone(swigCPtr); - VecUnitID ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnitID(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint len() { - uint ret = bcPINVOKE.VecUnitID_len(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public ushort index(uint index) { - ushort ret = bcPINVOKE.VecUnitID_index(swigCPtr, index); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/VecUnitType.cs b/VisualStudioCSSolution/VecUnitType.cs deleted file mode 100644 index f5e2014..0000000 --- a/VisualStudioCSSolution/VecUnitType.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class VecUnitType : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal VecUnitType(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VecUnitType obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~VecUnitType() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_VecUnitType(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public VecUnitType() : this(bcPINVOKE.new_VecUnitType(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string debug() { - string ret = bcPINVOKE.VecUnitType_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public VecUnitType clone() { - global::System.IntPtr cPtr = bcPINVOKE.VecUnitType_clone(swigCPtr); - VecUnitType ret = (cPtr == global::System.IntPtr.Zero) ? null : new VecUnitType(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint len() { - uint ret = bcPINVOKE.VecUnitType_len(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public UnitType index(uint index) { - UnitType ret = (UnitType)bcPINVOKE.VecUnitType_index(swigCPtr, index); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/Veci32.cs b/VisualStudioCSSolution/Veci32.cs deleted file mode 100644 index 9c4008a..0000000 --- a/VisualStudioCSSolution/Veci32.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class Veci32 : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Veci32(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Veci32 obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~Veci32() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_Veci32(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public Veci32() : this(bcPINVOKE.new_Veci32(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string debug() { - string ret = bcPINVOKE.Veci32_debug(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public Veci32 clone() { - global::System.IntPtr cPtr = bcPINVOKE.Veci32_clone(swigCPtr); - Veci32 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Veci32(cPtr, false); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public uint len() { - uint ret = bcPINVOKE.Veci32_len(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int index(uint index) { - int ret = bcPINVOKE.Veci32_index(swigCPtr, index); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/ViewerKeyframe.cs b/VisualStudioCSSolution/ViewerKeyframe.cs deleted file mode 100644 index f12f40d..0000000 --- a/VisualStudioCSSolution/ViewerKeyframe.cs +++ /dev/null @@ -1,52 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class ViewerKeyframe : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal ViewerKeyframe(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewerKeyframe obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~ViewerKeyframe() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_ViewerKeyframe(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public ViewerKeyframe() : this(bcPINVOKE.new_ViewerKeyframe(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string to_json() { - string ret = bcPINVOKE.ViewerKeyframe_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/ViewerMessage.cs b/VisualStudioCSSolution/ViewerMessage.cs deleted file mode 100644 index 18aa5fd..0000000 --- a/VisualStudioCSSolution/ViewerMessage.cs +++ /dev/null @@ -1,52 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class ViewerMessage : global::System.IDisposable { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal ViewerMessage(global::System.IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewerMessage obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - ~ViewerMessage() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - bcPINVOKE.delete_ViewerMessage(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public ViewerMessage() : this(bcPINVOKE.new_ViewerMessage(), true) { - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - } - - public string to_json() { - string ret = bcPINVOKE.ViewerMessage_to_json(swigCPtr); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/battlecode.dll b/VisualStudioCSSolution/battlecode.dll deleted file mode 100644 index 088c7f4..0000000 Binary files a/VisualStudioCSSolution/battlecode.dll and /dev/null differ diff --git a/VisualStudioCSSolution/battlecode.dll.exp b/VisualStudioCSSolution/battlecode.dll.exp deleted file mode 100644 index 807cd63..0000000 Binary files a/VisualStudioCSSolution/battlecode.dll.exp and /dev/null differ diff --git a/VisualStudioCSSolution/battlecode.pdb b/VisualStudioCSSolution/battlecode.pdb deleted file mode 100644 index a83c289..0000000 Binary files a/VisualStudioCSSolution/battlecode.pdb and /dev/null differ diff --git a/VisualStudioCSSolution/bc.cs b/VisualStudioCSSolution/bc.cs deleted file mode 100644 index 6c63f4e..0000000 --- a/VisualStudioCSSolution/bc.cs +++ /dev/null @@ -1,319 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -public class bc { - public static Planet Planet_other(Planet arg0) { - Planet ret = (Planet)bcPINVOKE.Planet_other((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string Planet_debug(Planet arg0) { - string ret = bcPINVOKE.Planet_debug((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static byte Planet_eq(Planet arg0, Planet other) { - byte ret = bcPINVOKE.Planet_eq((int)arg0, (int)other); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Planet Planet_from_json(string s) { - Planet ret = (Planet)bcPINVOKE.Planet_from_json(s); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string Planet_to_json(Planet arg0) { - string ret = bcPINVOKE.Planet_to_json((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int Direction_dx(Direction arg0) { - int ret = bcPINVOKE.Direction_dx((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int Direction_dy(Direction arg0) { - int ret = bcPINVOKE.Direction_dy((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static byte Direction_is_diagonal(Direction arg0) { - byte ret = bcPINVOKE.Direction_is_diagonal((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Direction Direction_opposite(Direction arg0) { - Direction ret = (Direction)bcPINVOKE.Direction_opposite((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Direction Direction_rotate_left(Direction arg0) { - Direction ret = (Direction)bcPINVOKE.Direction_rotate_left((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Direction Direction_rotate_right(Direction arg0) { - Direction ret = (Direction)bcPINVOKE.Direction_rotate_right((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Direction Direction_from_json(string s) { - Direction ret = (Direction)bcPINVOKE.Direction_from_json(s); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string Direction_to_json(Direction arg0) { - string ret = bcPINVOKE.Direction_to_json((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static MapLocation MapLocation_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.MapLocation_from_json(s); - MapLocation ret = (cPtr == global::System.IntPtr.Zero) ? null : new MapLocation(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Location Location_new_on_map(MapLocation map_location) { - global::System.IntPtr cPtr = bcPINVOKE.Location_new_on_map(MapLocation.getCPtr(map_location)); - Location ret = (cPtr == global::System.IntPtr.Zero) ? null : new Location(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Location Location_new_in_garrison(ushort id) { - global::System.IntPtr cPtr = bcPINVOKE.Location_new_in_garrison(id); - Location ret = (cPtr == global::System.IntPtr.Zero) ? null : new Location(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Location Location_new_in_space() { - global::System.IntPtr cPtr = bcPINVOKE.Location_new_in_space(); - Location ret = (cPtr == global::System.IntPtr.Zero) ? null : new Location(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Location Location_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.Location_from_json(s); - Location ret = (cPtr == global::System.IntPtr.Zero) ? null : new Location(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Team Team_from_json(string s) { - Team ret = (Team)bcPINVOKE.Team_from_json(s); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string Team_to_json(Team arg0) { - string ret = bcPINVOKE.Team_to_json((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Player Player_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.Player_from_json(s); - Player ret = (cPtr == global::System.IntPtr.Zero) ? null : new Player(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static UnitType UnitType_from_json(string s) { - UnitType ret = (UnitType)bcPINVOKE.UnitType_from_json(s); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string UnitType_to_json(UnitType arg0) { - string ret = bcPINVOKE.UnitType_to_json((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static uint UnitType_factory_cost(UnitType arg0) { - uint ret = bcPINVOKE.UnitType_factory_cost((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static uint UnitType_blueprint_cost(UnitType arg0) { - uint ret = bcPINVOKE.UnitType_blueprint_cost((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static uint UnitType_replicate_cost(UnitType arg0) { - uint ret = bcPINVOKE.UnitType_replicate_cost((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static uint UnitType_value(UnitType arg0) { - uint ret = bcPINVOKE.UnitType_value((int)arg0); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Unit Unit_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.Unit_from_json(s); - Unit ret = (cPtr == global::System.IntPtr.Zero) ? null : new Unit(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static PlanetMap PlanetMap_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.PlanetMap_from_json(s); - PlanetMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PlanetMap(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static Delta Delta_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.Delta_from_json(s); - Delta ret = (cPtr == global::System.IntPtr.Zero) ? null : new Delta(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static StartGameMessage StartGameMessage_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.StartGameMessage_from_json(s); - StartGameMessage ret = (cPtr == global::System.IntPtr.Zero) ? null : new StartGameMessage(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static TurnMessage TurnMessage_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.TurnMessage_from_json(s); - TurnMessage ret = (cPtr == global::System.IntPtr.Zero) ? null : new TurnMessage(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static StartTurnMessage StartTurnMessage_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.StartTurnMessage_from_json(s); - StartTurnMessage ret = (cPtr == global::System.IntPtr.Zero) ? null : new StartTurnMessage(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static ViewerMessage ViewerMessage_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.ViewerMessage_from_json(s); - ViewerMessage ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewerMessage(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static ViewerKeyframe ViewerKeyframe_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.ViewerKeyframe_from_json(s); - ViewerKeyframe ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewerKeyframe(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static ErrorMessage ErrorMessage_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.ErrorMessage_from_json(s); - ErrorMessage ret = (cPtr == global::System.IntPtr.Zero) ? null : new ErrorMessage(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static AsteroidStrike AsteroidStrike_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.AsteroidStrike_from_json(s); - AsteroidStrike ret = (cPtr == global::System.IntPtr.Zero) ? null : new AsteroidStrike(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static AsteroidPattern AsteroidPattern_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.AsteroidPattern_from_json(s); - AsteroidPattern ret = (cPtr == global::System.IntPtr.Zero) ? null : new AsteroidPattern(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static OrbitPattern OrbitPattern_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.OrbitPattern_from_json(s); - OrbitPattern ret = (cPtr == global::System.IntPtr.Zero) ? null : new OrbitPattern(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static GameMap GameMap_test_map() { - global::System.IntPtr cPtr = bcPINVOKE.GameMap_test_map(); - GameMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameMap(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static GameMap GameMap_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.GameMap_from_json(s); - GameMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameMap(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static uint max_level(UnitType branch) { - uint ret = bcPINVOKE.max_level((int)branch); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static uint cost_of(UnitType branch, uint level) { - uint ret = bcPINVOKE.cost_of((int)branch, level); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static ResearchInfo ResearchInfo_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.ResearchInfo_from_json(s); - ResearchInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new ResearchInfo(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static RocketLanding RocketLanding_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.RocketLanding_from_json(s); - RocketLanding ret = (cPtr == global::System.IntPtr.Zero) ? null : new RocketLanding(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static RocketLandingInfo RocketLandingInfo_from_json(string s) { - global::System.IntPtr cPtr = bcPINVOKE.RocketLandingInfo_from_json(s); - RocketLandingInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new RocketLandingInfo(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static GameController GameController_new_manager(GameMap map) { - global::System.IntPtr cPtr = bcPINVOKE.GameController_new_manager(GameMap.getCPtr(map)); - GameController ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameController(cPtr, true); - if (bcPINVOKE.SWIGPendingException.Pending) throw bcPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/VisualStudioCSSolution/bc.csproj b/VisualStudioCSSolution/bc.csproj deleted file mode 100644 index 85bb5e6..0000000 --- a/VisualStudioCSSolution/bc.csproj +++ /dev/null @@ -1,155 +0,0 @@ - - - Debug - x86 - {ABE2BECD-0676-4AD6-94AC-591D7683BE46} - Exe - false - ConsoleApplication - v4.0 - Client - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - x86 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - x86 - - - bc - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - - - Always - - - Always - - - Always - - - - - - - \ No newline at end of file diff --git a/VisualStudioCSSolution/bc.csproj.user b/VisualStudioCSSolution/bc.csproj.user deleted file mode 100644 index d014f64..0000000 --- a/VisualStudioCSSolution/bc.csproj.user +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/VisualStudioCSSolution/bc.dll b/VisualStudioCSSolution/bc.dll deleted file mode 100644 index 2620f5e..0000000 Binary files a/VisualStudioCSSolution/bc.dll and /dev/null differ diff --git a/VisualStudioCSSolution/bc.sln b/VisualStudioCSSolution/bc.sln deleted file mode 100644 index 03aca66..0000000 --- a/VisualStudioCSSolution/bc.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.2010 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bc", "bc.csproj", "{ABE2BECD-0676-4AD6-94AC-591D7683BE46}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x86 = Debug|x86 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {ABE2BECD-0676-4AD6-94AC-591D7683BE46}.Debug|x86.ActiveCfg = Debug|x86 - {ABE2BECD-0676-4AD6-94AC-591D7683BE46}.Debug|x86.Build.0 = Debug|x86 - {ABE2BECD-0676-4AD6-94AC-591D7683BE46}.Release|x86.ActiveCfg = Release|x86 - {ABE2BECD-0676-4AD6-94AC-591D7683BE46}.Release|x86.Build.0 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {282D9E54-7660-46F0-8EB5-0916FCFE13A8} - EndGlobalSection -EndGlobal diff --git a/VisualStudioCSSolution/bcPINVOKE.cs b/VisualStudioCSSolution/bcPINVOKE.cs deleted file mode 100644 index 2e9dbaa..0000000 --- a/VisualStudioCSSolution/bcPINVOKE.cs +++ /dev/null @@ -1,1311 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 3.0.12 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - - -class bcPINVOKE { - - protected class SWIGExceptionHelper { - - public delegate void ExceptionDelegate(string message); - public delegate void ExceptionArgumentDelegate(string message, string paramName); - - static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException); - static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException); - static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException); - static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException); - static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException); - static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException); - static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException); - static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException); - static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException); - static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException); - static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException); - - static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException); - static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); - static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="SWIGRegisterExceptionCallbacks_bc")] - public static extern void SWIGRegisterExceptionCallbacks_bc( - ExceptionDelegate applicationDelegate, - ExceptionDelegate arithmeticDelegate, - ExceptionDelegate divideByZeroDelegate, - ExceptionDelegate indexOutOfRangeDelegate, - ExceptionDelegate invalidCastDelegate, - ExceptionDelegate invalidOperationDelegate, - ExceptionDelegate ioDelegate, - ExceptionDelegate nullReferenceDelegate, - ExceptionDelegate outOfMemoryDelegate, - ExceptionDelegate overflowDelegate, - ExceptionDelegate systemExceptionDelegate); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_bc")] - public static extern void SWIGRegisterExceptionCallbacksArgument_bc( - ExceptionArgumentDelegate argumentDelegate, - ExceptionArgumentDelegate argumentNullDelegate, - ExceptionArgumentDelegate argumentOutOfRangeDelegate); - - static void SetPendingApplicationException(string message) { - SWIGPendingException.Set(new global::System.ApplicationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingArithmeticException(string message) { - SWIGPendingException.Set(new global::System.ArithmeticException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingDivideByZeroException(string message) { - SWIGPendingException.Set(new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIndexOutOfRangeException(string message) { - SWIGPendingException.Set(new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidCastException(string message) { - SWIGPendingException.Set(new global::System.InvalidCastException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidOperationException(string message) { - SWIGPendingException.Set(new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIOException(string message) { - SWIGPendingException.Set(new global::System.IO.IOException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingNullReferenceException(string message) { - SWIGPendingException.Set(new global::System.NullReferenceException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOutOfMemoryException(string message) { - SWIGPendingException.Set(new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOverflowException(string message) { - SWIGPendingException.Set(new global::System.OverflowException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingSystemException(string message) { - SWIGPendingException.Set(new global::System.SystemException(message, SWIGPendingException.Retrieve())); - } - - static void SetPendingArgumentException(string message, string paramName) { - SWIGPendingException.Set(new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); - } - static void SetPendingArgumentNullException(string message, string paramName) { - global::System.Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new global::System.ArgumentNullException(paramName, message)); - } - static void SetPendingArgumentOutOfRangeException(string message, string paramName) { - global::System.Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new global::System.ArgumentOutOfRangeException(paramName, message)); - } - - static SWIGExceptionHelper() { - SWIGRegisterExceptionCallbacks_bc( - applicationDelegate, - arithmeticDelegate, - divideByZeroDelegate, - indexOutOfRangeDelegate, - invalidCastDelegate, - invalidOperationDelegate, - ioDelegate, - nullReferenceDelegate, - outOfMemoryDelegate, - overflowDelegate, - systemDelegate); - - SWIGRegisterExceptionCallbacksArgument_bc( - argumentDelegate, - argumentNullDelegate, - argumentOutOfRangeDelegate); - } - } - - protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); - - public class SWIGPendingException { - [global::System.ThreadStatic] - private static global::System.Exception pendingException = null; - private static int numExceptionsPending = 0; - - public static bool Pending { - get { - bool pending = false; - if (numExceptionsPending > 0) - if (pendingException != null) - pending = true; - return pending; - } - } - - public static void Set(global::System.Exception e) { - if (pendingException != null) - throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); - pendingException = e; - lock(typeof(bcPINVOKE)) { - numExceptionsPending++; - } - } - - public static global::System.Exception Retrieve() { - global::System.Exception e = null; - if (numExceptionsPending > 0) { - if (pendingException != null) { - e = pendingException; - pendingException = null; - lock(typeof(bcPINVOKE)) { - numExceptionsPending--; - } - } - } - return e; - } - } - - - protected class SWIGStringHelper { - - public delegate string SWIGStringDelegate(string message); - static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="SWIGRegisterStringCallback_bc")] - public static extern void SWIGRegisterStringCallback_bc(SWIGStringDelegate stringDelegate); - - static string CreateString(string cString) { - return cString; - } - - static SWIGStringHelper() { - SWIGRegisterStringCallback_bc(stringDelegate); - } - } - - static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); - - - static bcPINVOKE() { - } - - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Planet_other")] - public static extern int Planet_other(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Planet_debug")] - public static extern string Planet_debug(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Planet_eq")] - public static extern byte Planet_eq(int jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Planet_from_json")] - public static extern int Planet_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Planet_to_json")] - public static extern string Planet_to_json(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Direction_dx")] - public static extern int Direction_dx(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Direction_dy")] - public static extern int Direction_dy(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Direction_is_diagonal")] - public static extern byte Direction_is_diagonal(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Direction_opposite")] - public static extern int Direction_opposite(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Direction_rotate_left")] - public static extern int Direction_rotate_left(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Direction_rotate_right")] - public static extern int Direction_rotate_right(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Direction_from_json")] - public static extern int Direction_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Direction_to_json")] - public static extern string Direction_to_json(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_MapLocation")] - public static extern global::System.IntPtr new_MapLocation(int jarg1, int jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_MapLocation")] - public static extern void delete_MapLocation(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_add")] - public static extern global::System.IntPtr MapLocation_add(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_subtract")] - public static extern global::System.IntPtr MapLocation_subtract(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_add_multiple")] - public static extern global::System.IntPtr MapLocation_add_multiple(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_translate")] - public static extern global::System.IntPtr MapLocation_translate(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_distance_squared_to")] - public static extern uint MapLocation_distance_squared_to(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_direction_to")] - public static extern int MapLocation_direction_to(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_is_adjacent_to")] - public static extern byte MapLocation_is_adjacent_to(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_is_within_range")] - public static extern byte MapLocation_is_within_range(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_debug")] - public static extern string MapLocation_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_clone")] - public static extern global::System.IntPtr MapLocation_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_eq")] - public static extern byte MapLocation_eq(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_to_json")] - public static extern string MapLocation_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_planet_set")] - public static extern void MapLocation_planet_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_planet_get")] - public static extern int MapLocation_planet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_x_set")] - public static extern void MapLocation_x_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_x_get")] - public static extern int MapLocation_x_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_y_set")] - public static extern void MapLocation_y_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_y_get")] - public static extern int MapLocation_y_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_MapLocation_from_json")] - public static extern global::System.IntPtr MapLocation_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_VecMapLocation")] - public static extern global::System.IntPtr new_VecMapLocation(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_VecMapLocation")] - public static extern void delete_VecMapLocation(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecMapLocation_debug")] - public static extern string VecMapLocation_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecMapLocation_clone")] - public static extern global::System.IntPtr VecMapLocation_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecMapLocation_len")] - public static extern uint VecMapLocation_len(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecMapLocation_index")] - public static extern global::System.IntPtr VecMapLocation_index(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_Veci32")] - public static extern global::System.IntPtr new_Veci32(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_Veci32")] - public static extern void delete_Veci32(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Veci32_debug")] - public static extern string Veci32_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Veci32_clone")] - public static extern global::System.IntPtr Veci32_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Veci32_len")] - public static extern uint Veci32_len(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Veci32_index")] - public static extern int Veci32_index(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_Location")] - public static extern global::System.IntPtr new_Location(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_Location")] - public static extern void delete_Location(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_is_on_map")] - public static extern byte Location_is_on_map(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_is_on_planet")] - public static extern byte Location_is_on_planet(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_map_location")] - public static extern global::System.IntPtr Location_map_location(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_is_in_garrison")] - public static extern byte Location_is_in_garrison(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_structure")] - public static extern ushort Location_structure(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_is_in_space")] - public static extern byte Location_is_in_space(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_is_adjacent_to")] - public static extern byte Location_is_adjacent_to(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_is_within_range")] - public static extern byte Location_is_within_range(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_debug")] - public static extern string Location_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_clone")] - public static extern global::System.IntPtr Location_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_eq")] - public static extern byte Location_eq(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_to_json")] - public static extern string Location_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_new_on_map")] - public static extern global::System.IntPtr Location_new_on_map(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_new_in_garrison")] - public static extern global::System.IntPtr Location_new_in_garrison(ushort jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_new_in_space")] - public static extern global::System.IntPtr Location_new_in_space(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Location_from_json")] - public static extern global::System.IntPtr Location_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Team_from_json")] - public static extern int Team_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Team_to_json")] - public static extern string Team_to_json(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_Player")] - public static extern global::System.IntPtr new_Player(int jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_Player")] - public static extern void delete_Player(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Player_debug")] - public static extern string Player_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Player_clone")] - public static extern global::System.IntPtr Player_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Player_eq")] - public static extern byte Player_eq(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Player_to_json")] - public static extern string Player_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Player_team_set")] - public static extern void Player_team_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Player_team_get")] - public static extern int Player_team_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Player_planet_set")] - public static extern void Player_planet_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Player_planet_get")] - public static extern int Player_planet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Player_from_json")] - public static extern global::System.IntPtr Player_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_VecUnitID")] - public static extern global::System.IntPtr new_VecUnitID(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_VecUnitID")] - public static extern void delete_VecUnitID(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnitID_debug")] - public static extern string VecUnitID_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnitID_clone")] - public static extern global::System.IntPtr VecUnitID_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnitID_len")] - public static extern uint VecUnitID_len(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnitID_index")] - public static extern ushort VecUnitID_index(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_UnitType_from_json")] - public static extern int UnitType_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_UnitType_to_json")] - public static extern string UnitType_to_json(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_UnitType_factory_cost")] - public static extern uint UnitType_factory_cost(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_UnitType_blueprint_cost")] - public static extern uint UnitType_blueprint_cost(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_UnitType_replicate_cost")] - public static extern uint UnitType_replicate_cost(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_UnitType_value")] - public static extern uint UnitType_value(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_VecUnitType")] - public static extern global::System.IntPtr new_VecUnitType(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_VecUnitType")] - public static extern void delete_VecUnitType(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnitType_debug")] - public static extern string VecUnitType_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnitType_clone")] - public static extern global::System.IntPtr VecUnitType_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnitType_len")] - public static extern uint VecUnitType_len(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnitType_index")] - public static extern int VecUnitType_index(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_Unit")] - public static extern global::System.IntPtr new_Unit(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_Unit")] - public static extern void delete_Unit(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_debug")] - public static extern string Unit_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_clone")] - public static extern global::System.IntPtr Unit_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_to_json")] - public static extern string Unit_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_eq")] - public static extern byte Unit_eq(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_id")] - public static extern ushort Unit_id(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_team")] - public static extern int Unit_team(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_research_level")] - public static extern uint Unit_research_level(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_unit_type")] - public static extern int Unit_unit_type(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_location")] - public static extern global::System.IntPtr Unit_location(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_health")] - public static extern uint Unit_health(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_max_health")] - public static extern uint Unit_max_health(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_vision_range")] - public static extern uint Unit_vision_range(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_damage")] - public static extern int Unit_damage(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_attack_range")] - public static extern uint Unit_attack_range(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_movement_heat")] - public static extern uint Unit_movement_heat(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_attack_heat")] - public static extern uint Unit_attack_heat(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_movement_cooldown")] - public static extern uint Unit_movement_cooldown(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_attack_cooldown")] - public static extern uint Unit_attack_cooldown(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_is_ability_unlocked")] - public static extern byte Unit_is_ability_unlocked(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_ability_heat")] - public static extern uint Unit_ability_heat(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_ability_cooldown")] - public static extern uint Unit_ability_cooldown(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_ability_range")] - public static extern uint Unit_ability_range(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_worker_has_acted")] - public static extern byte Unit_worker_has_acted(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_worker_build_health")] - public static extern uint Unit_worker_build_health(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_worker_repair_health")] - public static extern uint Unit_worker_repair_health(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_worker_harvest_amount")] - public static extern uint Unit_worker_harvest_amount(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_knight_defense")] - public static extern uint Unit_knight_defense(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_ranger_cannot_attack_range")] - public static extern uint Unit_ranger_cannot_attack_range(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_ranger_max_countdown")] - public static extern uint Unit_ranger_max_countdown(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_ranger_is_sniping")] - public static extern byte Unit_ranger_is_sniping(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_ranger_target_location")] - public static extern global::System.IntPtr Unit_ranger_target_location(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_ranger_countdown")] - public static extern uint Unit_ranger_countdown(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_healer_self_heal_amount")] - public static extern uint Unit_healer_self_heal_amount(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_structure_is_built")] - public static extern byte Unit_structure_is_built(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_structure_max_capacity")] - public static extern uint Unit_structure_max_capacity(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_structure_garrison")] - public static extern global::System.IntPtr Unit_structure_garrison(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_is_factory_producing")] - public static extern byte Unit_is_factory_producing(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_factory_unit_type")] - public static extern int Unit_factory_unit_type(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_factory_rounds_left")] - public static extern uint Unit_factory_rounds_left(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_factory_max_rounds_left")] - public static extern uint Unit_factory_max_rounds_left(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_rocket_is_used")] - public static extern byte Unit_rocket_is_used(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_rocket_blast_damage")] - public static extern int Unit_rocket_blast_damage(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_rocket_travel_time_decrease")] - public static extern uint Unit_rocket_travel_time_decrease(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Unit_from_json")] - public static extern global::System.IntPtr Unit_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_VecUnit")] - public static extern global::System.IntPtr new_VecUnit(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_VecUnit")] - public static extern void delete_VecUnit(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnit_debug")] - public static extern string VecUnit_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnit_clone")] - public static extern global::System.IntPtr VecUnit_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnit_len")] - public static extern uint VecUnit_len(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecUnit_index")] - public static extern global::System.IntPtr VecUnit_index(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_PlanetMap")] - public static extern global::System.IntPtr new_PlanetMap(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_PlanetMap")] - public static extern void delete_PlanetMap(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_validate")] - public static extern void PlanetMap_validate(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_on_map")] - public static extern byte PlanetMap_on_map(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_is_passable_terrain_at")] - public static extern byte PlanetMap_is_passable_terrain_at(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_initial_karbonite_at")] - public static extern uint PlanetMap_initial_karbonite_at(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_clone")] - public static extern global::System.IntPtr PlanetMap_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_to_json")] - public static extern string PlanetMap_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_planet_set")] - public static extern void PlanetMap_planet_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_planet_get")] - public static extern int PlanetMap_planet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_height_set")] - public static extern void PlanetMap_height_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_height_get")] - public static extern uint PlanetMap_height_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_width_set")] - public static extern void PlanetMap_width_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_width_get")] - public static extern uint PlanetMap_width_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_initial_units_set")] - public static extern void PlanetMap_initial_units_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_initial_units_get")] - public static extern global::System.IntPtr PlanetMap_initial_units_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_PlanetMap_from_json")] - public static extern global::System.IntPtr PlanetMap_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_Delta")] - public static extern global::System.IntPtr new_Delta(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_Delta")] - public static extern void delete_Delta(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Delta_to_json")] - public static extern string Delta_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_Delta_from_json")] - public static extern global::System.IntPtr Delta_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_StartGameMessage")] - public static extern global::System.IntPtr new_StartGameMessage(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_StartGameMessage")] - public static extern void delete_StartGameMessage(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_StartGameMessage_to_json")] - public static extern string StartGameMessage_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_StartGameMessage_from_json")] - public static extern global::System.IntPtr StartGameMessage_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_TurnMessage")] - public static extern global::System.IntPtr new_TurnMessage(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_TurnMessage")] - public static extern void delete_TurnMessage(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_TurnMessage_to_json")] - public static extern string TurnMessage_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_TurnMessage_from_json")] - public static extern global::System.IntPtr TurnMessage_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_StartTurnMessage")] - public static extern global::System.IntPtr new_StartTurnMessage(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_StartTurnMessage")] - public static extern void delete_StartTurnMessage(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_StartTurnMessage_to_json")] - public static extern string StartTurnMessage_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_StartTurnMessage_round_set")] - public static extern void StartTurnMessage_round_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_StartTurnMessage_round_get")] - public static extern uint StartTurnMessage_round_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_StartTurnMessage_from_json")] - public static extern global::System.IntPtr StartTurnMessage_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_ViewerMessage")] - public static extern global::System.IntPtr new_ViewerMessage(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_ViewerMessage")] - public static extern void delete_ViewerMessage(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ViewerMessage_to_json")] - public static extern string ViewerMessage_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ViewerMessage_from_json")] - public static extern global::System.IntPtr ViewerMessage_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_ViewerKeyframe")] - public static extern global::System.IntPtr new_ViewerKeyframe(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_ViewerKeyframe")] - public static extern void delete_ViewerKeyframe(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ViewerKeyframe_to_json")] - public static extern string ViewerKeyframe_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ViewerKeyframe_from_json")] - public static extern global::System.IntPtr ViewerKeyframe_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_ErrorMessage")] - public static extern global::System.IntPtr new_ErrorMessage(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_ErrorMessage")] - public static extern void delete_ErrorMessage(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ErrorMessage_to_json")] - public static extern string ErrorMessage_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ErrorMessage_debug")] - public static extern string ErrorMessage_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ErrorMessage_error_set")] - public static extern void ErrorMessage_error_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ErrorMessage_error_get")] - public static extern string ErrorMessage_error_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ErrorMessage_from_json")] - public static extern global::System.IntPtr ErrorMessage_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_TurnApplication")] - public static extern global::System.IntPtr new_TurnApplication(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_TurnApplication")] - public static extern void delete_TurnApplication(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_TurnApplication_start_turn_set")] - public static extern void TurnApplication_start_turn_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_TurnApplication_start_turn_get")] - public static extern global::System.IntPtr TurnApplication_start_turn_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_TurnApplication_viewer_set")] - public static extern void TurnApplication_viewer_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_TurnApplication_viewer_get")] - public static extern global::System.IntPtr TurnApplication_viewer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_InitialTurnApplication")] - public static extern global::System.IntPtr new_InitialTurnApplication(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_InitialTurnApplication")] - public static extern void delete_InitialTurnApplication(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_InitialTurnApplication_start_turn_set")] - public static extern void InitialTurnApplication_start_turn_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_InitialTurnApplication_start_turn_get")] - public static extern global::System.IntPtr InitialTurnApplication_start_turn_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_InitialTurnApplication_viewer_set")] - public static extern void InitialTurnApplication_viewer_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_InitialTurnApplication_viewer_get")] - public static extern global::System.IntPtr InitialTurnApplication_viewer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_AsteroidStrike")] - public static extern global::System.IntPtr new_AsteroidStrike(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_AsteroidStrike")] - public static extern void delete_AsteroidStrike(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidStrike_clone")] - public static extern global::System.IntPtr AsteroidStrike_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidStrike_debug")] - public static extern string AsteroidStrike_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidStrike_to_json")] - public static extern string AsteroidStrike_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidStrike_eq")] - public static extern byte AsteroidStrike_eq(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidStrike_karbonite_set")] - public static extern void AsteroidStrike_karbonite_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidStrike_karbonite_get")] - public static extern uint AsteroidStrike_karbonite_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidStrike_location_set")] - public static extern void AsteroidStrike_location_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidStrike_location_get")] - public static extern global::System.IntPtr AsteroidStrike_location_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidStrike_from_json")] - public static extern global::System.IntPtr AsteroidStrike_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_AsteroidPattern")] - public static extern global::System.IntPtr new_AsteroidPattern(ushort jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_AsteroidPattern")] - public static extern void delete_AsteroidPattern(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidPattern_validate")] - public static extern void AsteroidPattern_validate(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidPattern_has_asteroid")] - public static extern byte AsteroidPattern_has_asteroid(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidPattern_asteroid")] - public static extern global::System.IntPtr AsteroidPattern_asteroid(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidPattern_clone")] - public static extern global::System.IntPtr AsteroidPattern_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidPattern_debug")] - public static extern string AsteroidPattern_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidPattern_to_json")] - public static extern string AsteroidPattern_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_AsteroidPattern_from_json")] - public static extern global::System.IntPtr AsteroidPattern_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_OrbitPattern")] - public static extern global::System.IntPtr new_OrbitPattern(uint jarg1, uint jarg2, uint jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_OrbitPattern")] - public static extern void delete_OrbitPattern(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_validate")] - public static extern void OrbitPattern_validate(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_duration")] - public static extern uint OrbitPattern_duration(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_to_json")] - public static extern string OrbitPattern_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_amplitude_set")] - public static extern void OrbitPattern_amplitude_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_amplitude_get")] - public static extern uint OrbitPattern_amplitude_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_period_set")] - public static extern void OrbitPattern_period_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_period_get")] - public static extern uint OrbitPattern_period_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_center_set")] - public static extern void OrbitPattern_center_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_center_get")] - public static extern uint OrbitPattern_center_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_OrbitPattern_from_json")] - public static extern global::System.IntPtr OrbitPattern_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_GameMap")] - public static extern global::System.IntPtr new_GameMap(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_GameMap")] - public static extern void delete_GameMap(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_validate")] - public static extern void GameMap_validate(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_clone")] - public static extern global::System.IntPtr GameMap_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_to_json")] - public static extern string GameMap_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_seed_set")] - public static extern void GameMap_seed_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_seed_get")] - public static extern ushort GameMap_seed_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_earth_map_set")] - public static extern void GameMap_earth_map_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_earth_map_get")] - public static extern global::System.IntPtr GameMap_earth_map_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_mars_map_set")] - public static extern void GameMap_mars_map_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_mars_map_get")] - public static extern global::System.IntPtr GameMap_mars_map_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_asteroids_set")] - public static extern void GameMap_asteroids_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_asteroids_get")] - public static extern global::System.IntPtr GameMap_asteroids_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_orbit_set")] - public static extern void GameMap_orbit_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_orbit_get")] - public static extern global::System.IntPtr GameMap_orbit_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_test_map")] - public static extern global::System.IntPtr GameMap_test_map(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameMap_from_json")] - public static extern global::System.IntPtr GameMap_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_max_level")] - public static extern uint max_level(int jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_cost_of")] - public static extern uint cost_of(int jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_ResearchInfo")] - public static extern global::System.IntPtr new_ResearchInfo(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_ResearchInfo")] - public static extern void delete_ResearchInfo(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ResearchInfo_get_level")] - public static extern uint ResearchInfo_get_level(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ResearchInfo_queue")] - public static extern global::System.IntPtr ResearchInfo_queue(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ResearchInfo_has_next_in_queue")] - public static extern byte ResearchInfo_has_next_in_queue(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ResearchInfo_next_in_queue")] - public static extern int ResearchInfo_next_in_queue(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ResearchInfo_rounds_left")] - public static extern uint ResearchInfo_rounds_left(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ResearchInfo_to_json")] - public static extern string ResearchInfo_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_ResearchInfo_from_json")] - public static extern global::System.IntPtr ResearchInfo_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_RocketLanding")] - public static extern global::System.IntPtr new_RocketLanding(ushort jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_RocketLanding")] - public static extern void delete_RocketLanding(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLanding_clone")] - public static extern global::System.IntPtr RocketLanding_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLanding_debug")] - public static extern string RocketLanding_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLanding_to_json")] - public static extern string RocketLanding_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLanding_eq")] - public static extern byte RocketLanding_eq(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLanding_rocket_id_set")] - public static extern void RocketLanding_rocket_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLanding_rocket_id_get")] - public static extern ushort RocketLanding_rocket_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLanding_destination_set")] - public static extern void RocketLanding_destination_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLanding_destination_get")] - public static extern global::System.IntPtr RocketLanding_destination_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLanding_from_json")] - public static extern global::System.IntPtr RocketLanding_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_VecRocketLanding")] - public static extern global::System.IntPtr new_VecRocketLanding(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_VecRocketLanding")] - public static extern void delete_VecRocketLanding(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecRocketLanding_debug")] - public static extern string VecRocketLanding_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecRocketLanding_clone")] - public static extern global::System.IntPtr VecRocketLanding_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecRocketLanding_len")] - public static extern uint VecRocketLanding_len(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_VecRocketLanding_index")] - public static extern global::System.IntPtr VecRocketLanding_index(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_RocketLandingInfo")] - public static extern global::System.IntPtr new_RocketLandingInfo(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_RocketLandingInfo")] - public static extern void delete_RocketLandingInfo(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLandingInfo_landings_on")] - public static extern global::System.IntPtr RocketLandingInfo_landings_on(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLandingInfo_clone")] - public static extern global::System.IntPtr RocketLandingInfo_clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLandingInfo_debug")] - public static extern string RocketLandingInfo_debug(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLandingInfo_to_json")] - public static extern string RocketLandingInfo_to_json(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLandingInfo_eq")] - public static extern byte RocketLandingInfo_eq(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_RocketLandingInfo_from_json")] - public static extern global::System.IntPtr RocketLandingInfo_from_json(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_new_GameController")] - public static extern global::System.IntPtr new_GameController(); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_delete_GameController")] - public static extern void delete_GameController(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_next_turn")] - public static extern void GameController_next_turn(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_round")] - public static extern uint GameController_round(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_planet")] - public static extern int GameController_planet(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_team")] - public static extern int GameController_team(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_starting_map")] - public static extern global::System.IntPtr GameController_starting_map(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_karbonite")] - public static extern uint GameController_karbonite(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_unit")] - public static extern global::System.IntPtr GameController_unit(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_units")] - public static extern global::System.IntPtr GameController_units(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_my_units")] - public static extern global::System.IntPtr GameController_my_units(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_units_in_space")] - public static extern global::System.IntPtr GameController_units_in_space(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_karbonite_at")] - public static extern uint GameController_karbonite_at(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_all_locations_within")] - public static extern global::System.IntPtr GameController_all_locations_within(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_sense_location")] - public static extern byte GameController_can_sense_location(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_sense_unit")] - public static extern byte GameController_can_sense_unit(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_sense_nearby_units")] - public static extern global::System.IntPtr GameController_sense_nearby_units(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_sense_nearby_units_by_team")] - public static extern global::System.IntPtr GameController_sense_nearby_units_by_team(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, int jarg4); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_sense_nearby_units_by_type")] - public static extern global::System.IntPtr GameController_sense_nearby_units_by_type(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, int jarg4); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_has_unit_at_location")] - public static extern byte GameController_has_unit_at_location(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_sense_unit_at_location")] - public static extern global::System.IntPtr GameController_sense_unit_at_location(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_asteroid_pattern")] - public static extern global::System.IntPtr GameController_asteroid_pattern(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_orbit_pattern")] - public static extern global::System.IntPtr GameController_orbit_pattern(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_current_duration_of_flight")] - public static extern uint GameController_current_duration_of_flight(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_get_team_array")] - public static extern global::System.IntPtr GameController_get_team_array(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_write_team_array")] - public static extern void GameController_write_team_array(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_disintegrate_unit")] - public static extern void GameController_disintegrate_unit(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_is_occupiable")] - public static extern byte GameController_is_occupiable(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_move")] - public static extern byte GameController_can_move(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_is_move_ready")] - public static extern byte GameController_is_move_ready(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_move_robot")] - public static extern void GameController_move_robot(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_attack")] - public static extern byte GameController_can_attack(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_is_attack_ready")] - public static extern byte GameController_is_attack_ready(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_attack")] - public static extern void GameController_attack(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_research_info")] - public static extern global::System.IntPtr GameController_research_info(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_reset_research")] - public static extern byte GameController_reset_research(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_queue_research")] - public static extern byte GameController_queue_research(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_harvest")] - public static extern byte GameController_can_harvest(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_harvest")] - public static extern void GameController_harvest(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_blueprint")] - public static extern byte GameController_can_blueprint(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3, int jarg4); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_blueprint")] - public static extern void GameController_blueprint(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3, int jarg4); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_build")] - public static extern byte GameController_can_build(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_build")] - public static extern void GameController_build(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_repair")] - public static extern byte GameController_can_repair(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_repair")] - public static extern void GameController_repair(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_replicate")] - public static extern byte GameController_can_replicate(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_replicate")] - public static extern void GameController_replicate(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_javelin")] - public static extern byte GameController_can_javelin(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_is_javelin_ready")] - public static extern byte GameController_is_javelin_ready(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_javelin")] - public static extern void GameController_javelin(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_begin_snipe")] - public static extern byte GameController_can_begin_snipe(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_is_begin_snipe_ready")] - public static extern byte GameController_is_begin_snipe_ready(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_begin_snipe")] - public static extern void GameController_begin_snipe(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_blink")] - public static extern byte GameController_can_blink(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_is_blink_ready")] - public static extern byte GameController_is_blink_ready(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_blink")] - public static extern void GameController_blink(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_heal")] - public static extern byte GameController_can_heal(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_is_heal_ready")] - public static extern byte GameController_is_heal_ready(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_heal")] - public static extern void GameController_heal(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_overcharge")] - public static extern byte GameController_can_overcharge(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_is_overcharge_ready")] - public static extern byte GameController_is_overcharge_ready(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_overcharge")] - public static extern void GameController_overcharge(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_load")] - public static extern byte GameController_can_load(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_load")] - public static extern void GameController_load(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, ushort jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_unload")] - public static extern byte GameController_can_unload(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_unload")] - public static extern void GameController_unload(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_produce_robot")] - public static extern byte GameController_can_produce_robot(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_produce_robot")] - public static extern void GameController_produce_robot(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_rocket_landings")] - public static extern global::System.IntPtr GameController_rocket_landings(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_can_launch_rocket")] - public static extern byte GameController_can_launch_rocket(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_launch_rocket")] - public static extern void GameController_launch_rocket(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_start_game")] - public static extern global::System.IntPtr GameController_start_game(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_apply_turn")] - public static extern global::System.IntPtr GameController_apply_turn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_initial_start_turn_message")] - public static extern global::System.IntPtr GameController_initial_start_turn_message(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_is_over")] - public static extern byte GameController_is_over(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_winning_team")] - public static extern int GameController_winning_team(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_manager_viewer_message")] - public static extern string GameController_manager_viewer_message(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_print_game_ansi")] - public static extern void GameController_print_game_ansi(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_manager_karbonite")] - public static extern uint GameController_manager_karbonite(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("bc", EntryPoint="CSharp_GameController_new_manager")] - public static extern global::System.IntPtr GameController_new_manager(global::System.Runtime.InteropServices.HandleRef jarg1); -} diff --git a/VisualStudioCSSolution/bin/Release/ConsoleApplication.exe b/VisualStudioCSSolution/bin/Release/ConsoleApplication.exe deleted file mode 100644 index 189d7ed..0000000 Binary files a/VisualStudioCSSolution/bin/Release/ConsoleApplication.exe and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/ConsoleApplication.pdb b/VisualStudioCSSolution/bin/Release/ConsoleApplication.pdb deleted file mode 100644 index 8ff64a3..0000000 Binary files a/VisualStudioCSSolution/bin/Release/ConsoleApplication.pdb and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/battlecode.dll b/VisualStudioCSSolution/bin/Release/battlecode.dll deleted file mode 100644 index 088c7f4..0000000 Binary files a/VisualStudioCSSolution/bin/Release/battlecode.dll and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/battlecode.dll.exp b/VisualStudioCSSolution/bin/Release/battlecode.dll.exp deleted file mode 100644 index 807cd63..0000000 Binary files a/VisualStudioCSSolution/bin/Release/battlecode.dll.exp and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/battlecode.pdb b/VisualStudioCSSolution/bin/Release/battlecode.pdb deleted file mode 100644 index a83c289..0000000 Binary files a/VisualStudioCSSolution/bin/Release/battlecode.pdb and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/bc.dll b/VisualStudioCSSolution/bin/Release/bc.dll deleted file mode 100644 index 2620f5e..0000000 Binary files a/VisualStudioCSSolution/bin/Release/bc.dll and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libansi_term-a98a4ff12eb2040f.rlib b/VisualStudioCSSolution/bin/Release/libansi_term-a98a4ff12eb2040f.rlib deleted file mode 100644 index 87bdf4f..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libansi_term-a98a4ff12eb2040f.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libbacktrace-bd76b1c291b15491.rlib b/VisualStudioCSSolution/bin/Release/libbacktrace-bd76b1c291b15491.rlib deleted file mode 100644 index e3e927c..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libbacktrace-bd76b1c291b15491.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libbattlecode_engine-6ebd6e8714b8ff81.rlib b/VisualStudioCSSolution/bin/Release/libbattlecode_engine-6ebd6e8714b8ff81.rlib deleted file mode 100644 index 740173f..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libbattlecode_engine-6ebd6e8714b8ff81.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libcfg_if-d525163b3f827f1e.rlib b/VisualStudioCSSolution/bin/Release/libcfg_if-d525163b3f827f1e.rlib deleted file mode 100644 index b998dde..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libcfg_if-d525163b3f827f1e.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libdtoa-d4f230af1b09d38c.rlib b/VisualStudioCSSolution/bin/Release/libdtoa-d4f230af1b09d38c.rlib deleted file mode 100644 index 707de1b..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libdtoa-d4f230af1b09d38c.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libfailure-5e4ed277585bb400.rlib b/VisualStudioCSSolution/bin/Release/libfailure-5e4ed277585bb400.rlib deleted file mode 100644 index dac774c..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libfailure-5e4ed277585bb400.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libfnv-f19208d3c7442317.rlib b/VisualStudioCSSolution/bin/Release/libfnv-f19208d3c7442317.rlib deleted file mode 100644 index e2a4dec..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libfnv-f19208d3c7442317.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libitoa-de5c70635acb3863.rlib b/VisualStudioCSSolution/bin/Release/libitoa-de5c70635acb3863.rlib deleted file mode 100644 index cc0659a..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libitoa-de5c70635acb3863.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/liblibc-84ed564715c56b54.rlib b/VisualStudioCSSolution/bin/Release/liblibc-84ed564715c56b54.rlib deleted file mode 100644 index 375e62f..0000000 Binary files a/VisualStudioCSSolution/bin/Release/liblibc-84ed564715c56b54.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libnum_traits-1b60803ca8896fca.rlib b/VisualStudioCSSolution/bin/Release/libnum_traits-1b60803ca8896fca.rlib deleted file mode 100644 index 66e01fb..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libnum_traits-1b60803ca8896fca.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/librand-dea02a721a65094d.rlib b/VisualStudioCSSolution/bin/Release/librand-dea02a721a65094d.rlib deleted file mode 100644 index e2d24ad..0000000 Binary files a/VisualStudioCSSolution/bin/Release/librand-dea02a721a65094d.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/librustc_demangle-f7c6795719837c21.rlib b/VisualStudioCSSolution/bin/Release/librustc_demangle-f7c6795719837c21.rlib deleted file mode 100644 index e411f70..0000000 Binary files a/VisualStudioCSSolution/bin/Release/librustc_demangle-f7c6795719837c21.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libserde-0797087140260610.rlib b/VisualStudioCSSolution/bin/Release/libserde-0797087140260610.rlib deleted file mode 100644 index 969de22..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libserde-0797087140260610.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libserde_json-afb9cad9acd7c086.rlib b/VisualStudioCSSolution/bin/Release/libserde_json-afb9cad9acd7c086.rlib deleted file mode 100644 index 85eebff..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libserde_json-afb9cad9acd7c086.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/bin/Release/libwinapi-19c88896d7a97628.rlib b/VisualStudioCSSolution/bin/Release/libwinapi-19c88896d7a97628.rlib deleted file mode 100644 index 725124c..0000000 Binary files a/VisualStudioCSSolution/bin/Release/libwinapi-19c88896d7a97628.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libansi_term-a98a4ff12eb2040f.rlib b/VisualStudioCSSolution/libansi_term-a98a4ff12eb2040f.rlib deleted file mode 100644 index 87bdf4f..0000000 Binary files a/VisualStudioCSSolution/libansi_term-a98a4ff12eb2040f.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libbacktrace-bd76b1c291b15491.rlib b/VisualStudioCSSolution/libbacktrace-bd76b1c291b15491.rlib deleted file mode 100644 index e3e927c..0000000 Binary files a/VisualStudioCSSolution/libbacktrace-bd76b1c291b15491.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libbattlecode_engine-6ebd6e8714b8ff81.rlib b/VisualStudioCSSolution/libbattlecode_engine-6ebd6e8714b8ff81.rlib deleted file mode 100644 index 740173f..0000000 Binary files a/VisualStudioCSSolution/libbattlecode_engine-6ebd6e8714b8ff81.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libcfg_if-d525163b3f827f1e.rlib b/VisualStudioCSSolution/libcfg_if-d525163b3f827f1e.rlib deleted file mode 100644 index b998dde..0000000 Binary files a/VisualStudioCSSolution/libcfg_if-d525163b3f827f1e.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libdtoa-d4f230af1b09d38c.rlib b/VisualStudioCSSolution/libdtoa-d4f230af1b09d38c.rlib deleted file mode 100644 index 707de1b..0000000 Binary files a/VisualStudioCSSolution/libdtoa-d4f230af1b09d38c.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libfailure-5e4ed277585bb400.rlib b/VisualStudioCSSolution/libfailure-5e4ed277585bb400.rlib deleted file mode 100644 index dac774c..0000000 Binary files a/VisualStudioCSSolution/libfailure-5e4ed277585bb400.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libfnv-f19208d3c7442317.rlib b/VisualStudioCSSolution/libfnv-f19208d3c7442317.rlib deleted file mode 100644 index e2a4dec..0000000 Binary files a/VisualStudioCSSolution/libfnv-f19208d3c7442317.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libitoa-de5c70635acb3863.rlib b/VisualStudioCSSolution/libitoa-de5c70635acb3863.rlib deleted file mode 100644 index cc0659a..0000000 Binary files a/VisualStudioCSSolution/libitoa-de5c70635acb3863.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/liblibc-84ed564715c56b54.rlib b/VisualStudioCSSolution/liblibc-84ed564715c56b54.rlib deleted file mode 100644 index 375e62f..0000000 Binary files a/VisualStudioCSSolution/liblibc-84ed564715c56b54.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libnum_traits-1b60803ca8896fca.rlib b/VisualStudioCSSolution/libnum_traits-1b60803ca8896fca.rlib deleted file mode 100644 index 66e01fb..0000000 Binary files a/VisualStudioCSSolution/libnum_traits-1b60803ca8896fca.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/librand-dea02a721a65094d.rlib b/VisualStudioCSSolution/librand-dea02a721a65094d.rlib deleted file mode 100644 index e2d24ad..0000000 Binary files a/VisualStudioCSSolution/librand-dea02a721a65094d.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/librustc_demangle-f7c6795719837c21.rlib b/VisualStudioCSSolution/librustc_demangle-f7c6795719837c21.rlib deleted file mode 100644 index e411f70..0000000 Binary files a/VisualStudioCSSolution/librustc_demangle-f7c6795719837c21.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libserde-0797087140260610.rlib b/VisualStudioCSSolution/libserde-0797087140260610.rlib deleted file mode 100644 index 969de22..0000000 Binary files a/VisualStudioCSSolution/libserde-0797087140260610.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libserde_json-afb9cad9acd7c086.rlib b/VisualStudioCSSolution/libserde_json-afb9cad9acd7c086.rlib deleted file mode 100644 index 85eebff..0000000 Binary files a/VisualStudioCSSolution/libserde_json-afb9cad9acd7c086.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/libwinapi-19c88896d7a97628.rlib b/VisualStudioCSSolution/libwinapi-19c88896d7a97628.rlib deleted file mode 100644 index 725124c..0000000 Binary files a/VisualStudioCSSolution/libwinapi-19c88896d7a97628.rlib and /dev/null differ diff --git a/VisualStudioCSSolution/obj/x86/Debug/ConsoleApplication.exe b/VisualStudioCSSolution/obj/x86/Debug/ConsoleApplication.exe deleted file mode 100644 index 7856fb1..0000000 Binary files a/VisualStudioCSSolution/obj/x86/Debug/ConsoleApplication.exe and /dev/null differ diff --git a/VisualStudioCSSolution/obj/x86/Debug/ConsoleApplication.pdb b/VisualStudioCSSolution/obj/x86/Debug/ConsoleApplication.pdb deleted file mode 100644 index 0baf747..0000000 Binary files a/VisualStudioCSSolution/obj/x86/Debug/ConsoleApplication.pdb and /dev/null differ diff --git a/VisualStudioCSSolution/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/VisualStudioCSSolution/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 35ebaf5..0000000 Binary files a/VisualStudioCSSolution/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/VisualStudioCSSolution/obj/x86/Debug/bc.csproj.CoreCompileInputs.cache b/VisualStudioCSSolution/obj/x86/Debug/bc.csproj.CoreCompileInputs.cache deleted file mode 100644 index 8ecde95..0000000 --- a/VisualStudioCSSolution/obj/x86/Debug/bc.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -836b25c2674a854b0488655ad8b3f71fbcccf6b3 diff --git a/VisualStudioCSSolution/obj/x86/Debug/bc.csprojResolveAssemblyReference.cache b/VisualStudioCSSolution/obj/x86/Debug/bc.csprojResolveAssemblyReference.cache deleted file mode 100644 index c26e18e..0000000 Binary files a/VisualStudioCSSolution/obj/x86/Debug/bc.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/VisualStudioCSSolution/obj/x86/Release/ConsoleApplication.exe b/VisualStudioCSSolution/obj/x86/Release/ConsoleApplication.exe deleted file mode 100644 index 189d7ed..0000000 Binary files a/VisualStudioCSSolution/obj/x86/Release/ConsoleApplication.exe and /dev/null differ diff --git a/VisualStudioCSSolution/obj/x86/Release/ConsoleApplication.pdb b/VisualStudioCSSolution/obj/x86/Release/ConsoleApplication.pdb deleted file mode 100644 index 8ff64a3..0000000 Binary files a/VisualStudioCSSolution/obj/x86/Release/ConsoleApplication.pdb and /dev/null differ diff --git a/VisualStudioCSSolution/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache b/VisualStudioCSSolution/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 8d4b0d5..0000000 Binary files a/VisualStudioCSSolution/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/VisualStudioCSSolution/obj/x86/Release/bc.csproj.CoreCompileInputs.cache b/VisualStudioCSSolution/obj/x86/Release/bc.csproj.CoreCompileInputs.cache deleted file mode 100644 index 8ecde95..0000000 --- a/VisualStudioCSSolution/obj/x86/Release/bc.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -836b25c2674a854b0488655ad8b3f71fbcccf6b3 diff --git a/VisualStudioCSSolution/obj/x86/Release/bc.csprojResolveAssemblyReference.cache b/VisualStudioCSSolution/obj/x86/Release/bc.csprojResolveAssemblyReference.cache deleted file mode 100644 index c26e18e..0000000 Binary files a/VisualStudioCSSolution/obj/x86/Release/bc.csprojResolveAssemblyReference.cache and /dev/null differ