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)); }
public static GameUnlock GetRootAsGameUnlock(ByteBuffer _bb, GameUnlock obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }