AriDEVParser.SQLOutput.CreatureSpawnUpdateStore.GetCommand C# (CSharp) Method

GetCommand() public method

public GetCommand ( string field, uint where, object value ) : string
field string
where uint
value object
return string
        public string GetCommand(string field, uint where, object value)
        {
            var builder = new CommandBuilder("creature");
            builder.AddUpdateValue(field, value);
            return builder.BuildUpdate("guid = " + where);
        }
CreatureSpawnUpdateStore