コード例 #1
0
ファイル: SetConstantPacket.cs プロジェクト: Xileck/tibiaapi
 public static bool Send(Objects.Client client, PipeConstantType constantType, uint value)
 {
     SetConstantPacket p = new SetConstantPacket(client);
     p.ConstantType = constantType;
     p.Value = value;
     return p.Send();
 }
コード例 #2
0
        public static bool Send(Objects.Client client, PipeConstantType constantType, uint value)
        {
            SetConstantPacket p = new SetConstantPacket(client);

            p.ConstantType = constantType;
            p.Value        = value;
            return(p.Send());
        }