Пример #1
0
 public static Offset <Request_Login> CreateRequest_Login(FlatBufferBuilder builder,
                                                          StringOffset credentialOffset = default(StringOffset),
                                                          int hero_uid = 0)
 {
     builder.StartObject(2);
     Request_Login.AddHeroUid(builder, hero_uid);
     Request_Login.AddCredential(builder, credentialOffset);
     return(Request_Login.EndRequest_Login(builder));
 }
Пример #2
0
 public static Request_Login GetRootAsRequest_Login(ByteBuffer _bb, Request_Login obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }