C# Class MyGame.Example.Stat

Inheritance: FlatBuffers.Table
Mostra file Open project: google/flatbuffers Class Usage Examples

Public Methods

Method Description
AddCount ( FlatBuffers.FlatBufferBuilder builder, ushort count ) : void
AddId ( FlatBuffers.FlatBufferBuilder builder, StringOffset idOffset ) : void
AddVal ( FlatBuffers.FlatBufferBuilder builder, long val ) : void
CreateStat ( FlatBuffers.FlatBufferBuilder builder, StringOffset idOffset = default(StringOffset), long val, ushort count ) : Offset
EndStat ( FlatBuffers.FlatBufferBuilder builder ) : Offset
GetIdBytes ( ) : ArraySegment?
GetRootAsStat ( ByteBuffer _bb ) : Stat
GetRootAsStat ( ByteBuffer _bb, Stat obj ) : Stat
MutateCount ( ushort count ) : bool
MutateVal ( long val ) : bool
StartStat ( FlatBuffers.FlatBufferBuilder builder ) : void
__assign ( int _i, ByteBuffer _bb ) : Stat
__init ( int _i, ByteBuffer _bb ) : void

Method Details

AddCount() public static method

public static AddCount ( FlatBuffers.FlatBufferBuilder builder, ushort count ) : void
builder FlatBuffers.FlatBufferBuilder
count ushort
return void

AddId() public static method

public static AddId ( FlatBuffers.FlatBufferBuilder builder, StringOffset idOffset ) : void
builder FlatBuffers.FlatBufferBuilder
idOffset StringOffset
return void

AddVal() public static method

public static AddVal ( FlatBuffers.FlatBufferBuilder builder, long val ) : void
builder FlatBuffers.FlatBufferBuilder
val long
return void

CreateStat() public static method

public static CreateStat ( FlatBuffers.FlatBufferBuilder builder, StringOffset idOffset = default(StringOffset), long val, ushort count ) : Offset
builder FlatBuffers.FlatBufferBuilder
idOffset StringOffset
val long
count ushort
return Offset

EndStat() public static method

public static EndStat ( FlatBuffers.FlatBufferBuilder builder ) : Offset
builder FlatBuffers.FlatBufferBuilder
return Offset

GetIdBytes() public method

public GetIdBytes ( ) : ArraySegment?
return ArraySegment?

GetRootAsStat() public static method

public static GetRootAsStat ( ByteBuffer _bb ) : Stat
_bb FlatBuffers.ByteBuffer
return Stat

GetRootAsStat() public static method

public static GetRootAsStat ( ByteBuffer _bb, Stat obj ) : Stat
_bb FlatBuffers.ByteBuffer
obj Stat
return Stat

MutateCount() public method

public MutateCount ( ushort count ) : bool
count ushort
return bool

MutateVal() public method

public MutateVal ( long val ) : bool
val long
return bool

StartStat() public static method

public static StartStat ( FlatBuffers.FlatBufferBuilder builder ) : void
builder FlatBuffers.FlatBufferBuilder
return void

__assign() public method

public __assign ( int _i, ByteBuffer _bb ) : Stat
_i int
_bb FlatBuffers.ByteBuffer
return Stat

__init() public method

public __init ( int _i, ByteBuffer _bb ) : void
_i int
_bb FlatBuffers.ByteBuffer
return void