Exemple #1
0
 public static Offset <ScAccountLogin> CreateScAccountLogin(FlatBufferBuilder builder,
                                                            int msgID  = 10002,
                                                            int userID = 0)
 {
     builder.StartObject(2);
     ScAccountLogin.AddUserID(builder, userID);
     ScAccountLogin.AddMsgID(builder, msgID);
     return(ScAccountLogin.EndScAccountLogin(builder));
 }
Exemple #2
0
 public static ScAccountLogin GetRootAsScAccountLogin(ByteBuffer _bb, ScAccountLogin obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }