Post: [c#] how to set shutdown/soft reboot/power cycle flag in PS3API.CCAPI.ShutDown()?
07-01-2019, 10:59 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I'm having trouble setting a flag for PS3API.CCAPI.ShutDown().

According to the source code, these are the flags available:

    public enum RebootFlags
{
ShutDown = 1,
SoftReboot = 2,
HardReboot = 3
}


this is my code:

    CCAPI.RebootFlags shutdown = new CCAPI.RebootFlags();
PS3API.CCAPI.ShutDown(shutdown);


This code just shut downs my ps3 but i'd like to know how can i set a soft reboot/power cycle flag in? thanks.
07-01-2019, 01:52 PM #2
Originally posted by Tren
This code just shut downs my ps3 but i'd like to know how can i set a soft reboot/power cycle flag in? thanks.


The flag you're looking for is literally just SoftReboot is it not?

    PS3.CCAPI.ShutDown(CCAPI.RebootFlags.SoftReboot);

or
    PS3.CCAPI.ShutDown(SoftReboot);
Last edited by zevnda ; 07-01-2019 at 01:54 PM.

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo