146 lines
5.4 KiB
C#
146 lines
5.4 KiB
C#
/* ----------------------------------------------------------------------------
|
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
|
* Version 2.0.12
|
|
*
|
|
* Do not make changes to this file unless you know what you are doing--modify
|
|
* the SWIG interface file instead.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
namespace SLNet {
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public class RakNetListRakNetGUID : IDisposable {
|
|
private HandleRef swigCPtr;
|
|
protected bool swigCMemOwn;
|
|
|
|
internal RakNetListRakNetGUID(IntPtr cPtr, bool cMemoryOwn) {
|
|
swigCMemOwn = cMemoryOwn;
|
|
swigCPtr = new HandleRef(this, cPtr);
|
|
}
|
|
|
|
internal static HandleRef getCPtr(RakNetListRakNetGUID obj) {
|
|
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
|
}
|
|
|
|
~RakNetListRakNetGUID() {
|
|
Dispose();
|
|
}
|
|
|
|
public virtual void Dispose() {
|
|
lock(this) {
|
|
if (swigCPtr.Handle != IntPtr.Zero) {
|
|
if (swigCMemOwn) {
|
|
swigCMemOwn = false;
|
|
SLikeNetPINVOKE.delete_RakNetListRakNetGUID(swigCPtr);
|
|
}
|
|
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
|
}
|
|
GC.SuppressFinalize(this);
|
|
}
|
|
}
|
|
|
|
public RakNetGUID this[int index]
|
|
{
|
|
get
|
|
{
|
|
return Get((uint)index); // use indexto retrieve and return another value.
|
|
}
|
|
set
|
|
{
|
|
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
|
|
}
|
|
}
|
|
|
|
public RakNetListRakNetGUID() : this(SLikeNetPINVOKE.new_RakNetListRakNetGUID__SWIG_0(), true) {
|
|
}
|
|
|
|
public RakNetListRakNetGUID(RakNetListRakNetGUID original_copy) : this(SLikeNetPINVOKE.new_RakNetListRakNetGUID__SWIG_1(RakNetListRakNetGUID.getCPtr(original_copy)), true) {
|
|
if (SLikeNetPINVOKE.SWIGPendingException.Pending) throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
|
|
}
|
|
|
|
public RakNetListRakNetGUID CopyData(RakNetListRakNetGUID original_copy) {
|
|
RakNetListRakNetGUID ret = new RakNetListRakNetGUID(SLikeNetPINVOKE.RakNetListRakNetGUID_CopyData(swigCPtr, RakNetListRakNetGUID.getCPtr(original_copy)), false);
|
|
if (SLikeNetPINVOKE.SWIGPendingException.Pending) throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
|
|
return ret;
|
|
}
|
|
|
|
public RakNetGUID Get(uint position) {
|
|
RakNetGUID ret = new RakNetGUID(SLikeNetPINVOKE.RakNetListRakNetGUID_Get(swigCPtr, position), false);
|
|
return ret;
|
|
}
|
|
|
|
public void Push(RakNetGUID input, string file, uint line) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_Push(swigCPtr, RakNetGUID.getCPtr(input), file, line);
|
|
if (SLikeNetPINVOKE.SWIGPendingException.Pending) throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
|
|
}
|
|
|
|
public RakNetGUID Pop() {
|
|
RakNetGUID ret = new RakNetGUID(SLikeNetPINVOKE.RakNetListRakNetGUID_Pop(swigCPtr), false);
|
|
return ret;
|
|
}
|
|
|
|
public void Insert(RakNetGUID input, uint position, string file, uint line) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_Insert__SWIG_0(swigCPtr, RakNetGUID.getCPtr(input), position, file, line);
|
|
if (SLikeNetPINVOKE.SWIGPendingException.Pending) throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
|
|
}
|
|
|
|
public void Insert(RakNetGUID input, string file, uint line) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_Insert__SWIG_1(swigCPtr, RakNetGUID.getCPtr(input), file, line);
|
|
if (SLikeNetPINVOKE.SWIGPendingException.Pending) throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
|
|
}
|
|
|
|
public void Replace(RakNetGUID input, RakNetGUID filler, uint position, string file, uint line) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_Replace__SWIG_0(swigCPtr, RakNetGUID.getCPtr(input), RakNetGUID.getCPtr(filler), position, file, line);
|
|
if (SLikeNetPINVOKE.SWIGPendingException.Pending) throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
|
|
}
|
|
|
|
public void Replace(RakNetGUID input) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_Replace__SWIG_1(swigCPtr, RakNetGUID.getCPtr(input));
|
|
if (SLikeNetPINVOKE.SWIGPendingException.Pending) throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
|
|
}
|
|
|
|
public void RemoveAtIndex(uint position) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_RemoveAtIndex(swigCPtr, position);
|
|
}
|
|
|
|
public void RemoveAtIndexFast(uint position) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_RemoveAtIndexFast(swigCPtr, position);
|
|
}
|
|
|
|
public void RemoveFromEnd(uint num) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_RemoveFromEnd__SWIG_0(swigCPtr, num);
|
|
}
|
|
|
|
public void RemoveFromEnd() {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_RemoveFromEnd__SWIG_1(swigCPtr);
|
|
}
|
|
|
|
public uint GetIndexOf(RakNetGUID input) {
|
|
uint ret = SLikeNetPINVOKE.RakNetListRakNetGUID_GetIndexOf(swigCPtr, RakNetGUID.getCPtr(input));
|
|
if (SLikeNetPINVOKE.SWIGPendingException.Pending) throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
|
|
return ret;
|
|
}
|
|
|
|
public uint Size() {
|
|
uint ret = SLikeNetPINVOKE.RakNetListRakNetGUID_Size(swigCPtr);
|
|
return ret;
|
|
}
|
|
|
|
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
|
|
}
|
|
|
|
public void Preallocate(uint countNeeded, string file, uint line) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_Preallocate(swigCPtr, countNeeded, file, line);
|
|
}
|
|
|
|
public void Compress(string file, uint line) {
|
|
SLikeNetPINVOKE.RakNetListRakNetGUID_Compress(swigCPtr, file, line);
|
|
}
|
|
|
|
}
|
|
|
|
}
|