C# Class LuaInterface.LuaObjectPool

ファイルを表示 Open project: topameng/tolua Class Usage Examples

Public Methods

Method Description
Add ( object obj ) : int
Clear ( ) : void
Destroy ( int pos ) : object
LuaObjectPool ( ) : System
Remove ( int pos ) : object
Replace ( int pos, object o ) : object
TryGetValue ( int index ) : object
this ( int i ) : object

Method Details

Add() public method

public Add ( object obj ) : int
obj object
return int

Clear() public method

public Clear ( ) : void
return void

Destroy() public method

public Destroy ( int pos ) : object
pos int
return object

LuaObjectPool() public method

public LuaObjectPool ( ) : System
return System

Remove() public method

public Remove ( int pos ) : object
pos int
return object

Replace() public method

public Replace ( int pos, object o ) : object
pos int
o object
return object

TryGetValue() public method

public TryGetValue ( int index ) : object
index int
return object

this() public method

public this ( int i ) : object
i int
return object