Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_WidgetEditFormatIP Interface Reference

Format for ip. More...

Inheritance diagram for SCR_WidgetEditFormatIP:
SCR_WidgetEditFormat

Public Member Functions

override bool IsFormatValid (string str)
 Method ready for overr to verifying that format is correct.
 
bool IsValidated ()
 
bool IsPrivate ()
 
- Public Member Functions inherited from SCR_WidgetEditFormat
string GetFormatMessage ()
 
void SetEditBoxFilter (EditBoxFilterComponent filter)
 

Static Public Member Functions

static bool IsAddressInRange (string address, string min, string max, bool validCheck=true)
 Return true if address is in given range.
 
static int AddressToDecimal (string address, bool validCheck=true)
 Retrun IP address formant number to int.
 

Static Public Attributes

static const string LAN_VALUE = "local"
 

Protected Member Functions

bool IsPrivate (string address)
 

Protected Attributes

bool m_bIsValidated
 
bool m_bIsPrivate
 
- Protected Attributes inherited from SCR_WidgetEditFormat
string m_sFormatMessage
 
EditBoxFilterComponent m_EditBoxFilter
 

Static Protected Attributes

static int ADDRESS_VALUES_COUNT = 4
 
const string HINT_RANGE = "#AR-ServerHosting_ValidRangeHint"
 
const string HINT_PRIVATE = "#AR-ServerHosting_PrivateIPHint"
 

Detailed Description

Format for ip.

Member Function Documentation

◆ AddressToDecimal()

static int SCR_WidgetEditFormatIP.AddressToDecimal ( string address,
bool validCheck = true )
static

Retrun IP address formant number to int.

◆ IsAddressInRange()

static bool SCR_WidgetEditFormatIP.IsAddressInRange ( string address,
string min,
string max,
bool validCheck = true )
static

Return true if address is in given range.

◆ IsFormatValid()

override bool SCR_WidgetEditFormatIP.IsFormatValid ( string str)

Method ready for overr to verifying that format is correct.

Implements SCR_WidgetEditFormat.

◆ IsPrivate() [1/2]

bool SCR_WidgetEditFormatIP.IsPrivate ( )

◆ IsPrivate() [2/2]

bool SCR_WidgetEditFormatIP.IsPrivate ( string address)
protected

◆ IsValidated()

bool SCR_WidgetEditFormatIP.IsValidated ( )

Member Data Documentation

◆ ADDRESS_VALUES_COUNT

int SCR_WidgetEditFormatIP.ADDRESS_VALUES_COUNT = 4
staticprotected

◆ HINT_PRIVATE

const string SCR_WidgetEditFormatIP.HINT_PRIVATE = "#AR-ServerHosting_PrivateIPHint"
staticprotected

◆ HINT_RANGE

const string SCR_WidgetEditFormatIP.HINT_RANGE = "#AR-ServerHosting_ValidRangeHint"
staticprotected

◆ LAN_VALUE

const string SCR_WidgetEditFormatIP.LAN_VALUE = "local"
static

◆ m_bIsPrivate

bool SCR_WidgetEditFormatIP.m_bIsPrivate
protected

◆ m_bIsValidated

bool SCR_WidgetEditFormatIP.m_bIsValidated
protected

The documentation for this interface was generated from the following file: