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


C# MemoryStream.readPackY方法代码示例

本文整理汇总了C#中KBEngine.MemoryStream.readPackY方法的典型用法代码示例。如果您正苦于以下问题:C# MemoryStream.readPackY方法的具体用法?C# MemoryStream.readPackY怎么用?C# MemoryStream.readPackY使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在KBEngine.MemoryStream的用法示例。


在下文中一共展示了MemoryStream.readPackY方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: 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

示例2: Client_onUpdateData_y

        public void Client_onUpdateData_y(MemoryStream stream)
        {
            Int32 eid = getAoiEntityIDFromStream(stream);

            float y = stream.readPackY();

            _updateVolatileData(eid, 0.0f, 0.0f, 0.0f, y, KBEDATATYPE_BASE.KBE_FLT_MAX, KBEDATATYPE_BASE.KBE_FLT_MAX, -1);
        }
开发者ID:buckyu,项目名称:kbengine_unity3d_plugins,代码行数:8,代码来源:KBEngine.cs

示例3: 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

示例4: Client_onUpdateData_y

        public void Client_onUpdateData_y(MemoryStream stream)
        {
            Int32 eid = stream.readInt32();

            float y = stream.readPackY();

            _updateVolatileData(eid, 0.0f, 0.0f, 0.0f, y, KBE_FLT_MAX, KBE_FLT_MAX);
        }
开发者ID:jsboys,项目名称:kbengine,代码行数:8,代码来源:KBEngine.cs

示例5: 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

示例6: Client_onUpdateData_xyz

        public void Client_onUpdateData_xyz(MemoryStream stream)
        {
            Int32 eid = getAoiEntityIDFromStream(stream);

            Vector2 xz = stream.readPackXZ();
            float y = stream.readPackY();

            _updateVolatileData(eid, xz[0], y, xz[1], KBE_FLT_MAX, KBE_FLT_MAX, KBE_FLT_MAX);
        }
开发者ID:QiuleiWang,项目名称:kbengine,代码行数:9,代码来源:KBEngine.cs


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