public NMatchmakeAddMessage Build() { // Clone object so builder now operates on new copy. var original = message; message = new NMatchmakeAddMessage(); message.payload.MatchmakeAdd = new TMatchmakeAdd(original.payload.MatchmakeAdd); return(original); }
public Builder(long requiredCount) { message = new NMatchmakeAddMessage(); message.payload.MatchmakeAdd.RequiredCount = requiredCount; }