コード例 #1
0
ファイル: Table.cs プロジェクト: rdumusc/flatbuffers
 // Initialize any Table-derived type to point to the union at the given offset.
 protected Table __union(Table t, int offset)
 {
     offset += bb_pos;
     t.bb_pos = offset + bb.GetInt(offset);
     t.bb = bb;
     return t;
 }
コード例 #2
0
ファイル: Request.cs プロジェクト: SaviorXTanren/xenia
 public Table GetRequestData(Table obj)
 {
     int o = __offset(8); return o != 0 ? __union(obj, o) : null;
 }
コード例 #3
0
ファイル: Monster.cs プロジェクト: holvonix/flatbuffers
 public Table Test(Table obj)
 {
     int o = __offset(20); return o != 0 ? __union(obj, o) : null;
 }