private void GetNextNamed(enuObjectType type, int ix) { clsOL2MsgRequestProperties MSG = new clsOL2MsgRequestProperties(Controller.Connection); MSG.ObjectType = type; MSG.IndexNumber = (UInt16)ix; MSG.RelativeDirection = 1; // next object after IndexNumber MSG.Filter1 = 1; // (0=Named or Unnamed, 1=Named, 2=Unnamed). MSG.Filter2 = 0; // Any Area MSG.Filter3 = 0; // Any Room Controller.Connection.Send(MSG, HandleNamedPropertiesResponse); }
private void GetNextNamed(enuObjectType type, int ix) { var MSG = new clsOL2MsgRequestProperties(Controller.Connection) { ObjectType = type, IndexNumber = (UInt16)ix, RelativeDirection = 1, // next object after IndexNumber Filter1 = 1, // (0=Named or Unnamed, 1=Named, 2=Unnamed). Filter2 = 0, // Any Area Filter3 = 0 // Any Room }; Controller.Connection.Send(MSG, HandleNamedPropertiesResponse); }