public void Update(bnet.protocol.presence.FieldOperation operation) { switch (operation.Operation) { case bnet.protocol.presence.FieldOperation.Types.OperationType.SET: DoSet(operation.Field); break; case bnet.protocol.presence.FieldOperation.Types.OperationType.CLEAR: DoClear(operation.Field); break; } }
public void Update(bnet.protocol.presence.FieldOperation operation) { switch (operation.Operation) { case bnet.protocol.presence.FieldOperation.Types.OperationType.SET: DoSet(operation.Field); break; case bnet.protocol.presence.FieldOperation.Types.OperationType.CLEAR: DoClear(operation.Field); break; default: Logger.Warn("No operation type."); break; } }
public void AddFieldOperation(bnet.protocol.presence.FieldOperation val) { this._FieldOperation.Add(val); }