当前位置: 首页>>代码示例>>C#>>正文


C# MemoryStream.readPackXZ方法代码示例

本文整理汇总了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);
        }
开发者ID:buckyu,项目名称:kbengine_unity3d_plugins,代码行数:11,代码来源:KBEngine.cs

示例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);
        }
开发者ID:jsboys,项目名称:kbengine,代码行数:11,代码来源:KBEngine.cs

示例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);
        }
开发者ID:buckyu,项目名称:kbengine_unity3d_plugins,代码行数:12,代码来源:KBEngine.cs

示例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);
        }
开发者ID:jsboys,项目名称:kbengine,代码行数:12,代码来源:KBEngine.cs

示例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);
        }
开发者ID:QiuleiWang,项目名称:kbengine,代码行数:8,代码来源:KBEngine.cs

示例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);
        }
开发者ID:QiuleiWang,项目名称:kbengine,代码行数:13,代码来源:KBEngine.cs

示例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);
        }
开发者ID:jiangzhuo,项目名称:kbengine_dotnet,代码行数:8,代码来源:KBEngine.cs

示例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);
        }
开发者ID:jiangzhuo,项目名称:kbengine_dotnet,代码行数:12,代码来源:KBEngine.cs


注:本文中的KBEngine.MemoryStream.readPackXZ方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。