/// <summary>
    /// 创建坐骑
    /// </summary>
    public Mounts createMounts(ErlArray array)
    {
        Mounts mounts = new Mounts();

        mounts.bytesRead(0, array);
        return(mounts);
    }
Exemple #2
0
    /// <summary>
    /// 修改坐骑
    /// </summary>
    public void updateMounts(string uid, ErlArray ea)
    {
        mountsStorageVersion++;
        Mounts mounts = mountsStorage.getPropByUid(uid) as Mounts;

        if (mounts != null)
        {
            mounts.bytesRead(0, ea);
        }
    }