本文整理汇总了C#中Packet.ReadUint方法的典型用法代码示例。如果您正苦于以下问题:C# Packet.ReadUint方法的具体用法?C# Packet.ReadUint怎么用?C# Packet.ReadUint使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Packet
的用法示例。
在下文中一共展示了Packet.ReadUint方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ReqRoleLogin
public ReqRoleLogin(Packet packet)
{
this._uid = packet.ReadUint();
this._uuid = packet.ReadUint();
this._sid = packet.ReadUshort();
this._cid = packet.ReadUshort();
this._login_time = packet.ReadUint();
this._pwd = packet.ReadString();
this._relink = packet.ReadByte();
this._debug = packet.ReadByte();
this._os = packet.ReadString();
this._version = packet.ReadString();
}
示例2: ReqRoleCreate
public ReqRoleCreate(Packet packet)
{
this._uid = packet.ReadUint();
this._uuid = packet.ReadUint();
this._sid = packet.ReadUshort();
this._cid = packet.ReadUshort();
this._os = packet.ReadString();
this._version = packet.ReadString();
this._uname = packet.ReadString();
this._source = packet.ReadString();
this._source_sub = packet.ReadString();
this._login_time = packet.ReadUint();
}
示例3: AckChatSendOk
public AckChatSendOk(Packet packet)
{
this._channel = packet.ReadByte();
this._uid = packet.ReadUint();
this._uname = packet.ReadString();
this._content = packet.ReadString();
}
示例4: AckSceneMove
public AckSceneMove(Packet packet)
{
this._scene_rot_pos = new MsgSceneRotPos(packet);
this._forward = new MsgSceneVector3(packet);
this._ani_name = packet.ReadString();
this._x_axis = packet.ReadShort();
this._uid = packet.ReadUint();
}
示例5: AckTestXX
public AckTestXX(Packet packet)
{
this._id_u8 = packet.ReadByte();
this._id_u16 = packet.ReadUshort();
this._id_u32 = packet.ReadUint();
this._repeat_id_u8 = new List<byte>();
ushort repeat_id_u8_count = packet.ReadUshort();
for (ushort i = 0; i < repeat_id_u8_count; i++)
{
this._repeat_id_u8.Add(packet.ReadByte());
}
this. optional_id_u8_flag = packet.ReadByte();
if (this.optional_id_u8_flag == 1)
{
this._optional_id_u8 = packet.ReadByte();
}
}
示例6: MsgFriendBaseAdd
public MsgFriendBaseAdd(Packet packet)
{
this._uid = packet.ReadUint();
this._uname = packet.ReadString();
}
示例7: ReqSceneEnter
public ReqSceneEnter(Packet packet)
{
this._door_id = packet.ReadUint();
}
示例8: MsgScenePlayer
public MsgScenePlayer(Packet packet)
{
this._uid = packet.ReadUint();
this._scene_rot_pos = new MsgSceneRotPos(packet);
}
示例9: AckSceneExit
public AckSceneExit(Packet packet)
{
this._uid = packet.ReadUint();
}
示例10: ReqChatSend
public ReqChatSend(Packet packet)
{
this._channel = packet.ReadByte();
this._dest_uid = packet.ReadUint();
this._content = packet.ReadString();
}
示例11: MsgRoleBase
public MsgRoleBase(Packet packet)
{
this._uid = packet.ReadUint();
this._uname = packet.ReadString();
}
示例12: ReqSceneEnterFly
public ReqSceneEnterFly(Packet packet)
{
this._map_id = packet.ReadUint();
}