本文整理汇总了C#中KBEngine.MemoryStream.readPackXZ方法的典型用法代码示例。如果您正苦于以下问题:C# MemoryStream.readPackXZ方法的具体用法?C# MemoryStream.readPackXZ怎么用?C# MemoryStream.readPackXZ使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类KBEngine.MemoryStream
的用法示例。
在下文中一共展示了MemoryStream.readPackXZ方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Client_onUpdateData_xz_yp
public void Client_onUpdateData_xz_yp(MemoryStream stream)
{
Int32 eid = getAoiEntityIDFromStream(stream);
Vector2 xz = stream.readPackXZ();
SByte y = stream.readInt8();
SByte p = stream.readInt8();
_updateVolatileData(eid, xz[0], 0.0f, xz[1], y, p, KBEDATATYPE_BASE.KBE_FLT_MAX, 1);
}
示例2: Client_onUpdateData_xz_yp
public void Client_onUpdateData_xz_yp(MemoryStream stream)
{
Int32 eid = stream.readInt32();
Vector2 xz = stream.readPackXZ();
SByte y = stream.readInt8();
SByte p = stream.readInt8();
_updateVolatileData(eid, xz[0], 0.0f, xz[1], y, p, KBE_FLT_MAX);
}
示例3: Client_onUpdateData_xyz_yr
public void Client_onUpdateData_xyz_yr(MemoryStream stream)
{
Int32 eid = getAoiEntityIDFromStream(stream);
Vector2 xz = stream.readPackXZ();
float y = stream.readPackY();
SByte yaw = stream.readInt8();
SByte r = stream.readInt8();
_updateVolatileData(eid, xz[0], y, xz[1], yaw, KBEDATATYPE_BASE.KBE_FLT_MAX, r, 0);
}
示例4: Client_onUpdateData_xyz_yr
public void Client_onUpdateData_xyz_yr(MemoryStream stream)
{
Int32 eid = stream.readInt32();
Vector2 xz = stream.readPackXZ();
float y = stream.readPackY();
SByte yaw = stream.readInt8();
SByte r = stream.readInt8();
_updateVolatileData(eid, xz[0], y, xz[1], yaw, KBE_FLT_MAX, r);
}
示例5: Client_onUpdateData_xz
public void Client_onUpdateData_xz(MemoryStream stream)
{
Int32 eid = getAoiEntityIDFromStream(stream);
Vector2 xz = stream.readPackXZ();
_updateVolatileData(eid, xz[0], 0.0f, xz[1], KBE_FLT_MAX, KBE_FLT_MAX, KBE_FLT_MAX);
}
示例6: Client_onUpdateData_xyz_ypr
public void Client_onUpdateData_xyz_ypr(MemoryStream stream)
{
Int32 eid = getAoiEntityIDFromStream(stream);
Vector2 xz = stream.readPackXZ();
float y = stream.readPackY();
SByte yaw = stream.readInt8();
SByte p = stream.readInt8();
SByte r = stream.readInt8();
_updateVolatileData(eid, xz[0], y, xz[1], yaw, p, r);
}
示例7: Client_onUpdateData_xz
public void Client_onUpdateData_xz(MemoryStream stream)
{
Int32 eid = getAoiEntityIDFromStream(stream);
Vector2 xz = stream.readPackXZ();
_updateVolatileData(eid, xz.X, 0.0f, xz.Y, KBEDATATYPE_BASE.KBE_FLT_MAX, KBEDATATYPE_BASE.KBE_FLT_MAX, KBEDATATYPE_BASE.KBE_FLT_MAX, 1);
}
示例8: Client_onUpdateData_xz_ypr
public void Client_onUpdateData_xz_ypr(MemoryStream stream)
{
Int32 eid = getAoiEntityIDFromStream(stream);
Vector2 xz = stream.readPackXZ();
SByte y = stream.readInt8();
SByte p = stream.readInt8();
SByte r = stream.readInt8();
_updateVolatileData(eid, xz.X, 0.0f, xz.Y, y, p, r, 1);
}