コード例 #1
0
 public static Offset <RegReq> CreateRegReq(FlatBufferBuilder builder,
                                            StringOffset townOffset           = default(StringOffset),
                                            StringOffset client_authOffset    = default(StringOffset),
                                            Offset <RoleInfo> role_infoOffset = default(Offset <RoleInfo>))
 {
     builder.StartObject(3);
     RegReq.AddRoleInfo(builder, role_infoOffset);
     RegReq.AddClientAuth(builder, client_authOffset);
     RegReq.AddTown(builder, townOffset);
     return(RegReq.EndRegReq(builder));
 }
コード例 #2
0
 public static RegReq GetRootAsRegReq(ByteBuffer _bb, RegReq obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }