RTSEngine.Data.DevCommandKillBuildings.TryParse C# (CSharp) 메소드

TryParse() 공개 정적인 메소드

public static TryParse ( string c, DevCommand &command ) : bool
c string
command DevCommand
리턴 bool
        public static bool TryParse(string c, out DevCommand command)
        {
            Match m = REGEX.Match(c);
            if(m.Success) {
                command = new DevCommandKillBuildings();
                return true;
            }
            command = null;
            return false;
        }