示例#1
0
 public void Serialize(ServerMessage message)
 {
     message.AppendUInt32(mID);
     message.AppendString(mUsername);
     message.AppendBoolean(true);
     message.AppendBoolean(true);
     message.AppendBoolean(false);
     message.AppendString(mFigure);
     message.AppendBoolean(false);
     message.AppendString(mMotto);
     message.AppendString("1-1-1970");
 }
示例#2
0
文件: Room.cs 项目: habb0/iondeltar
 public void Serialize(ServerMessage message)
 {
     message.AppendUInt32(mID);
     message.AppendBoolean(false);
     message.AppendString(mName);
     message.AppendString(mOwnerName);
     message.AppendInt32((int)mAccessType);
     message.AppendInt32((int)mVisitors);
     message.AppendInt32((int)mMaxVisitors);
     message.AppendString(mDescription);
     message.AppendBoolean(false); // All rights
     message.AppendBoolean(false); // Allow trading
 }
示例#3
0
文件: Habbo.cs 项目: habb0/iondeltar
 public void Serialize(ServerMessage message)
 {
     message.AppendString(mID.ToString());
     message.AppendString(mUsername);
     message.AppendString(mFigure);
     message.AppendString(mGender.ToString());
     message.AppendString(mMotto.ToString());
     message.AppendBoolean(false);
     message.AppendString("");
     message.AppendBoolean(false);
     message.AppendBoolean(false);
     message.AppendBoolean(false);
     message.AppendBoolean(false);
 }