示例#1
0
文件: Rudeco.cs 项目: mScule/Rudeco
    private void Start()
    {
        // Initializing console
        customCommands = new Dictionary <string, CustomCommand>();
        CustomCommandInit();

        console = new Poy(customCommands);
        output.Print(
            console.GetOutputOut() + "To clear screen, write: $R@cls$W; \n");
    }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ClubId != 0)
            {
                hash ^= ClubId.GetHashCode();
            }
            if (PlayerCountIndex != 0)
            {
                hash ^= PlayerCountIndex.GetHashCode();
            }
            if (PlayCountIndex != 0)
            {
                hash ^= PlayCountIndex.GetHashCode();
            }
            if (PlayTypeIndex != 0)
            {
                hash ^= PlayTypeIndex.GetHashCode();
            }
            hash ^= jiangMa_.GetHashCode();
            if (FaWangTp != false)
            {
                hash ^= FaWangTp.GetHashCode();
            }
            if (WuZhaTp != false)
            {
                hash ^= WuZhaTp.GetHashCode();
            }
            if (Pox != 0D)
            {
                hash ^= Pox.GetHashCode();
            }
            if (Poy != 0D)
            {
                hash ^= Poy.GetHashCode();
            }
            if (Address.Length != 0)
            {
                hash ^= Address.GetHashCode();
            }
            if (IsBaWang != false)
            {
                hash ^= IsBaWang.GetHashCode();
            }
            return(hash);
        }