## XIIIMP
Class XIIIMPSabotageMessage

source: C:\XIII\XIIIMP\Classes\XIIIMPSabotageMessage.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Info
             |
             +--Engine.LocalMessage
                |
                +--XIII.XIIILocalMessage
                   |
                   +--XIIIMP.XIIIMPSabotageMessage

Direct Known Subclasses:None

class XIIIMPSabotageMessage
extends XIII.XIIILocalMessage

    //-----------------------------------------------------------
    //
    //-----------------------------------------------------------

Variables
`BombIsActive,BombIsDesactivated,` | `ObjectifDestroyed`

Function Summary
`string` | `GetString(optional int, optional PlayerReplicationInfo, optional PlayerReplicationInfo, optional Object)`

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class XIIIMPSabotageMessage extends XIIILocalMessage;
    00005
    00006	var localized string BombIsActive,BombIsDesactivated, ObjectifDestroyed;
    00007
    00008	static function string GetString( optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject )
    00009	{
    00010	    switch (Switch)
    00011	    {
    00012	      case 2: // Destroyed
    00013	        return Default.ObjectifDestroyed;//@"("$MPBombingBase(OptionalObject).sBaseName$")"; break;
    00014	      case 1: // Activated
    00015	        return Default.BombIsActive;//@"("$MPBombingBase(OptionalObject).sBaseName$")"; break;
    00016	      case 0: // Desactivated
    00017	        return Default.BombIsDesactivated;//@"("$MPBombingBase(OptionalObject).sBaseName$")"; break;
    00018	    }
    00019	    return default.class$" ERR::RECEIVED GetString with wrong or undefined Params";
    00020	}
    00021
    00022
    00023
    00024
    00025
    00026
    00027
    00028	defaultproperties
    00029	{
    00030	     BombIsActive="Bomb is ACTIVATED"
    00031	     BombIsDesactivated="Bomb is DISABLED"
    00032	     ObjectifDestroyed="Objectif is DESTROYED"
    00033	     DrawColor=(B=168,R=255,A=230)
    00034	}

End Source Code