コード例 #1
0
ファイル: GameUnlock.cs プロジェクト: SisyFox/sisycol
 public static Offset <GameUnlock> CreateGameUnlock(FlatBufferBuilder builder,
                                                    GameUnlockResult result_type = GameUnlockResult.NONE,
                                                    int resultOffset             = 0)
 {
     builder.StartObject(2);
     GameUnlock.AddResult(builder, resultOffset);
     GameUnlock.AddResultType(builder, result_type);
     return(GameUnlock.EndGameUnlock(builder));
 }
コード例 #2
0
ファイル: GameUnlock.cs プロジェクト: SisyFox/sisycol
 public static GameUnlock GetRootAsGameUnlock(ByteBuffer _bb, GameUnlock obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }