Changes

Jump to navigation Jump to search
599 bytes added ,  04:20, 21 October 2015
m
Minor cleaning, add State enum.
Line 82: Line 82:  
!  Value
 
!  Value
 
|-
 
|-
| STATE_NONE
+
| EXCLUSIVE_STATE_NONE
 
| 0
 
| 0
 
|-
 
|-
| STATE_INFRASTRUCTURE
+
| EXCLUSIVE_STATE_INFRASTRUCTURE
 
| 1
 
| 1
 
|-
 
|-
| STATE_LOCAL_COMMUNICATIONS
+
| EXCLUSIVE_STATE_LOCAL_COMMUNICATIONS
 
| 2
 
| 2
 
|-
 
|-
| STATE_STREETPASS
+
| EXCLUSIVE_STATE_STREETPASS
 
| 3
 
| 3
 
|-
 
|-
| STATE_STREETPASS_DATA
+
| EXCLUSIVE_STATE_STREETPASS_DATA
 
| 4
 
| 4
 
|}
 
|}
Line 123: Line 123:  
!  Value
 
!  Value
 
|-
 
|-
| DAEMONMASK_CEC
+
| DAEMON_MASK_CEC
 
| 1 << DAEMON_CEC
 
| 1 << DAEMON_CEC
 
|-
 
|-
| DAEMONMASK_BOSS
+
| DAEMON_MASK_BOSS
 
| 1 << DAEMON_BOSS
 
| 1 << DAEMON_BOSS
 
|-
 
|-
| DAEMONMASK_NIM
+
| DAEMON_MASK_NIM
 
| 1 << DAEMON_NIM
 
| 1 << DAEMON_NIM
 
|-
 
|-
| DAEMONMASK_FRIENDS
+
| DAEMON_MASK_FRIENDS
 
| 1 << DAEMON_FRIENDS
 
| 1 << DAEMON_FRIENDS
 
|}
 
|}
Line 142: Line 142:  
!  Value
 
!  Value
 
|-
 
|-
| STATUS_BUSY
+
| DAEMON_STATUS_BUSY
 
| 0
 
| 0
 
|-
 
|-
| STATUS_IDLE
+
| DAEMON_STATUS_IDLE
 
| 1
 
| 1
 
|-
 
|-
| STATUS_SUSPENDING
+
| DAEMON_STATUS_SUSPENDING
 
| 2
 
| 2
 
|-
 
|-
| STATUS_SUSPENDED
+
| DAEMON_STATUS_SUSPENDED
 
| 3
 
| 3
 +
|}
 +
 +
'''enum State'''
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Enum
 +
!  Value
 +
|-
 +
| STATE_INITIAL
 +
| 0
 +
|-
 +
| STATE_SUSPENDED
 +
| 1
 +
|-
 +
| STATE_INFRASTRUCTURE_CONNECTING
 +
| 2
 +
|-
 +
| STATE_INFRASTRUCTURE_CONNECTED
 +
| 3
 +
|-
 +
| STATE_INFRASTRUCTURE_WORKING
 +
| 4
 +
|-
 +
| STATE_INFRASTRUCTURE_SUSPENDING
 +
| 5
 +
|-
 +
| STATE_INFRASTRUCTURE_FORCE_SUSPENDING
 +
| 6
 +
|-
 +
| STATE_INFRASTRUCTURE_DISCONNECTING
 +
| 7
 +
|-
 +
| STATE_INFRASTRUCTURE_FORCE_DISCONNECTING
 +
| 8
 +
|-
 +
| STATE_CEC_WORKING
 +
| 9
 +
|-
 +
| STATE_CEC_FORCE_SUSPENDING
 +
| 10
 +
|-
 +
| STATE_CEC_SUSPENDING
 +
| 11
 
|}
 
|}
1,434

edits

Navigation menu