コード例 #1
0
ファイル: MovementPath.cs プロジェクト: 745c5412/tera-emu
        public override string ToString()
        {
            if (!this.mySerialized)
            {
                for (int i = 0; i < TransitCells.Count; i++)
                {
                    this.mySerializedPath.Append(Pathfinder.GetDirectionChar(Directions[i]));
                    this.mySerializedPath.Append(CellHelper.CellIdToCharCode(TransitCells[i]));
                }
                this.mySerialized = true;
            }

            return(this.mySerializedPath.ToString());
        }