Example #1
0
    /// <summary>
    /// 复制(深拷贝)
    /// </summary>
    protected override void toCopy(BaseData data)
    {
        if (!(data is CreateSceneData))
        {
            return;
        }

        CreateSceneData mData = (CreateSceneData)data;

        this.sceneID = mData.sceneID;
    }
Example #2
0
    /// <summary>
    /// 是否数据一致
    /// </summary>
    protected override bool toDataEquals(BaseData data)
    {
        CreateSceneData mData = (CreateSceneData)data;

        if (this.sceneID != mData.sceneID)
        {
            return(false);
        }

        return(true);
    }