Beispiel #1
0
        protected void AddField(string name, string dataType, object defaultValue)
        {
            PacketField field = new PacketField(name, PacketDataTypes.Get(dataType), defaultValue);

            this.fields.Add(field.Name, field);
        }
Beispiel #2
0
        protected void AddField(string name, string dataType)
        {
            PacketField field = new PacketField(name, PacketDataTypes.Get(dataType));

            this.fields.Add(field.Name, field);
        }